diff options
Diffstat (limited to 'include/arch/linux-sh/AndroidConfig.h')
-rw-r--r-- | include/arch/linux-sh/AndroidConfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 5562eae..9303bb6 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.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 */ |