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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ports/dosbox/nacl.patch ('k') | ports/libtar/nacl.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/Makefile b/Makefile 1 diff --git a/Makefile b/Makefile
2 index 344ff29..5e5249e 100644 2 index 344ff29..5e5249e 100644
3 --- a/Makefile 3 --- a/Makefile
4 +++ b/Makefile 4 +++ b/Makefile
5 @@ -90,7 +90,11 @@ endif # PLATFORM_SHARED_EXT 5 @@ -90,7 +90,11 @@ endif # PLATFORM_SHARED_EXT
6 6
7 all: $(SHARED) $(LIBRARY) 7 all: $(SHARED) $(LIBRARY)
8 8
9 -check: all $(PROGRAMS) $(TESTS) 9 -check: all $(PROGRAMS) $(TESTS)
10 +tests: $(TESTS) 10 +tests: $(TESTS)
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 + #define PLATFORM_IS_LITTLE_ENDIAN (BYTE_ORDER == LITTLE_ENDIAN) 102 + #define PLATFORM_IS_LITTLE_ENDIAN (BYTE_ORDER == LITTLE_ENDIAN)
103 + #endif 103 + #endif
104 #else 104 #else
105 #include <endian.h> 105 #include <endian.h>
106 #endif 106 #endif
107 @@ -55,7 +63,7 @@ 107 @@ -55,7 +63,7 @@
108 108
109 #if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\ 109 #if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\
110 defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_DRAGONFLYBSD) ||\ 110 defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_DRAGONFLYBSD) ||\
111 - defined(OS_ANDROID) || defined(OS_HPUX) 111 - defined(OS_ANDROID) || defined(OS_HPUX)
112 + defined(OS_ANDROID) || defined(OS_HPUX) || (defined(OS_NACL) && !defined(__ GLIBC__)) 112 + defined(OS_ANDROID) || defined(OS_HPUX) || (defined(OS_NACL) && defined(_NE WLIB_VERSION))
113 // Use fread/fwrite/fflush on platforms without _unlocked variants 113 // Use fread/fwrite/fflush on platforms without _unlocked variants
114 #define fread_unlocked fread 114 #define fread_unlocked fread
115 #define fwrite_unlocked fwrite 115 #define fwrite_unlocked fwrite
OLDNEW
« 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