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

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: Use os_posix and exclude other platforms as needed Created 7 years, 4 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
Index: third_party/leveldatabase/env_chromium.cc
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
index 0333380fd2f3e6ac0dff4318b52eda1b0445144c..7f4959c3d05aa036b67101ba22f90f256542dcfa 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_NACL)) || defined(OS_WIN)
// The following are glibc-specific
size_t fread_wrapper(void *ptr, size_t size, size_t n, FILE *file) {

Powered by Google App Engine
This is Rietveld 408576698