| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |