am fa5f2ad4: am bd8f4a85: Merge "Define O_BINARY for non-Windows platforms."

* commit 'fa5f2ad48b0a22d963b11b87cb94d5d1960c42ff':
  Define O_BINARY for non-Windows platforms.
This commit is contained in:
Raphael Moll 2011-03-01 22:33:21 -08:00 committed by Android Git Automerger
commit 733e470110
8 changed files with 62 additions and 0 deletions

View file

@ -300,4 +300,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /*_ANDROID_CONFIG_H*/

View file

@ -358,4 +358,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /*_ANDROID_CONFIG_H*/

View file

@ -354,4 +354,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /* _ANDROID_CONFIG_H */

View file

@ -318,4 +318,12 @@
*/
#define HAVE_PREAD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /*_ANDROID_CONFIG_H*/

View file

@ -361,4 +361,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /* _ANDROID_CONFIG_H */

View file

@ -328,4 +328,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /*_ANDROID_CONFIG_H*/

View file

@ -345,4 +345,12 @@
*/
#define HAVE_PRINTF_ZD 1
/*
* We need to open binary files using O_BINARY on Windows.
* Most systems lack (and actually don't need) this flag.
*/
#ifndef O_BINARY
#define O_BINARY 0
#endif
#endif /* _ANDROID_CONFIG_H */

View file

@ -333,4 +333,10 @@
*/
/* #define HAVE_PRINTF_ZD 1 */
/*
* We need to open binary files using O_BINARY on Windows.
* We don't define it on Windows since it is part of the io headers.
*/
/* #define O_BINARY 0 */
#endif /*_ANDROID_CONFIG_H*/