android_system_core/include/arch
Raphael Moll bd70e4aca5 Define O_BINARY for non-Windows platforms.
All tools (aapt, aidl, dexdump, etc.) need this flag to open()
binary files, or they risk reading corrupted data on Windows.

A bunch of these tools just conditionaly define O_BINARY in
their C files. Seems it would just make sense to define it globally.

Change-Id: Ia5c0a59e9e77bbdcbce235233555f611207abed8
2011-02-16 13:36:42 -08:00
..
darwin-x86 Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
freebsd-x86 Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
linux-arm Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
linux-ppc Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
linux-sh Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
linux-x86 Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
target_linux-x86 Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00
windows Define O_BINARY for non-Windows platforms. 2011-02-16 13:36:42 -08:00