Commit | Line | Data |
---|---|---|
c5e14396 FF |
1 | diff -u -r ../leveldb-1.20/port/port_posix.h ./port/port_posix.h |
2 | --- ../leveldb-1.20/port/port_posix.h 2017-03-02 01:08:02.000000000 +0100 | |
3 | +++ ./port/port_posix.h 2017-09-22 22:18:21.814123643 +0200 | |
4 | @@ -52,7 +52,7 @@ | |
5 | ||
6 | #if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\ | |
7 | defined(OS_NETBSD) || defined(OS_OPENBSD) || defined(OS_DRAGONFLYBSD) ||\ | |
8 | - defined(OS_ANDROID) || defined(OS_HPUX) || defined(CYGWIN) | |
9 | + defined(OS_ANDROID) || defined(OS_HPUX) || defined(CYGWIN) || defined(__ANDROID__) | |
10 | // Use fread/fwrite/fflush on platforms without _unlocked variants | |
11 | #define fread_unlocked fread | |
12 | #define fwrite_unlocked fwrite |