summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-07 22:35:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-07 22:35:42 +0000
commit487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (patch)
tree90021b6b6e74fe37a5f3f615ad15d3bc4f180d5f /libs/androidfw/ZipFileRO.cpp
parente80c01e8d124c69ca60fc8e7a0ca7001be3796e0 (diff)
parent2204f0bf56af53b588a01701b8cf9cd05b1b3ff9 (diff)
Merge "Frameworks/base: Wall Werror in libs/androidfw"
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
-rw-r--r--libs/androidfw/ZipFileRO.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/androidfw/ZipFileRO.cpp b/libs/androidfw/ZipFileRO.cpp
index 5f6e831a0200..ef0d07295120 100644
--- a/libs/androidfw/ZipFileRO.cpp
+++ b/libs/androidfw/ZipFileRO.cpp
@@ -34,14 +34,6 @@
#include <assert.h>
#include <unistd.h>
-/*
- * We must open binary files using open(path, ... | O_BINARY) under Windows.
- * Otherwise strange read errors will happen.
- */
-#ifndef O_BINARY
-# define O_BINARY 0
-#endif
-
using namespace android;
class _ZipEntryRO {