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

Unified Diff: ports/leveldb/nacl.patch

Issue 162913002: Use _NEWLIB_VERSION macro to detect newlib. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 10 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 | « ports/dosbox/nacl.patch ('k') | ports/libtar/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/leveldb/nacl.patch
diff --git a/ports/leveldb/nacl.patch b/ports/leveldb/nacl.patch
index bc37d4c90962498542763bdfcc5c577aa8fbc764..0947e3275614f9fc6db3950a53143c222133944e 100644
--- a/ports/leveldb/nacl.patch
+++ b/ports/leveldb/nacl.patch
@@ -109,7 +109,7 @@ index f2b89bf..bae495f 100644
#if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\
defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_DRAGONFLYBSD) ||\
- defined(OS_ANDROID) || defined(OS_HPUX)
-+ defined(OS_ANDROID) || defined(OS_HPUX) || (defined(OS_NACL) && !defined(__GLIBC__))
++ defined(OS_ANDROID) || defined(OS_HPUX) || (defined(OS_NACL) && defined(_NEWLIB_VERSION))
// Use fread/fwrite/fflush on platforms without _unlocked variants
#define fread_unlocked fread
#define fwrite_unlocked fwrite
« no previous file with comments | « ports/dosbox/nacl.patch ('k') | ports/libtar/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698