* commit '733e47011023787cf996b1b4f232453b2324e303': Define O_BINARY for non-Windows platforms.
This commit is contained in:
commit
e24624da7d
8 changed files with 62 additions and 0 deletions
|
|
@ -305,4 +305,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*/
|
||||
|
|
|
|||
|
|
@ -363,4 +363,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*/
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -323,4 +323,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*/
|
||||
|
|
|
|||
|
|
@ -366,4 +366,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 */
|
||||
|
|
|
|||
|
|
@ -333,4 +333,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*/
|
||||
|
|
|
|||
|
|
@ -350,4 +350,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 */
|
||||
|
|
|
|||
|
|
@ -338,4 +338,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*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue