commit | bd70e4aca5680acb7d5da5500b7e8c618fb499f2 | [log] [tgz] |
---|---|---|
author | Raphael Moll <ralf@android.com> | Wed Feb 16 13:36:42 2011 -0800 |
committer | Raphael Moll <ralf@android.com> | Wed Feb 16 13:36:42 2011 -0800 |
tree | 2ad356887972215321e9b1f7ddcd94e460239ae2 | |
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