Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: third_party/leveldatabase/env_chromium.cc

Issue 16206002: Add more support for FreeBSD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/vector_platform_device_skia.cc ('k') | tools/clang/scripts/plugin_flags.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « skia/ext/vector_platform_device_skia.cc ('k') | tools/clang/scripts/plugin_flags.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698