Index: third_party/leveldatabase/env_chromium.cc |
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc |
index 97f6c8ef4c16aeba8a7da11230dc8bee85111c04..ed0acfd3d71c0fe0ce9d7f458d5445aa84cbc220 100644 |
--- a/third_party/leveldatabase/env_chromium.cc |
+++ b/third_party/leveldatabase/env_chromium.cc |
@@ -48,8 +48,7 @@ namespace leveldb_env { |
namespace { |
-#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_ANDROID) || \ |
- defined(OS_OPENBSD) |
+#if (defined(OS_POSIX) && !defined(OS_LINUX)) || defined(OS_WIN) |
jsbell
2013/09/19 21:20:32
I believe that OS_POSIX is basically defined as !O
|
// The following are glibc-specific |
size_t fread_wrapper(void *ptr, size_t size, size_t n, FILE *file) { |