diff options
| author | Raphael Moll <ralf@android.com> | 2011-02-16 13:36:42 -0800 |
|---|---|---|
| committer | Raphael Moll <ralf@android.com> | 2011-02-16 13:36:42 -0800 |
| commit | bd70e4aca5680acb7d5da5500b7e8c618fb499f2 (patch) | |
| tree | 2ad356887972215321e9b1f7ddcd94e460239ae2 /trusty/coverage/coverage_test.cpp | |
| parent | 034117e47f2601d46563461a0bfe3cc22f89a0f0 (diff) | |
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
