From f4b417c62a4f272c4cf9a074d0f7a3a97201f9db Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 17 Apr 2012 11:23:35 +0200 Subject: Update to upstream bash 4.2 This upgrades bash to from 4.1-rc to 4.2-release. See CWRU/changelog for changes. Change-Id: I926269c300cf44fa25964b5b375a148fcf11c4b7 --- include/filecntl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/filecntl.h') diff --git a/include/filecntl.h b/include/filecntl.h index 31667a1..9bcbab8 100644 --- a/include/filecntl.h +++ b/include/filecntl.h @@ -42,4 +42,12 @@ # endif #endif +/* Make sure O_BINARY and O_TEXT are defined to avoid Windows-specific code. */ +#if !defined (O_BINARY) +# define O_BINARY 0 +#endif +#if !defined (O_TEXT) +# define O_TEXT 0 +#endif + #endif /* ! _FILECNTL_H_ */ -- cgit v1.1