picolisp: Update from 18.1.24 to 18.4.26
[termux-packages] / packages / redis / config.h.patch
1 --- ../../build/redis/cache/redis-3.2.8/src/config.h 2017-02-12 16:14:57.000000000 +0100
2 +++ ./src/config.h 2017-03-02 22:42:23.207883845 +0100
3 @@ -96,7 +96,7 @@
4
5 /* Define rdb_fsync_range to sync_file_range() on Linux, otherwise we use
6 * the plain fsync() call. */
7 -#ifdef __linux__
8 +#ifdef __android__
9 #if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
10 #if (LINUX_VERSION_CODE >= 0x020611 && __GLIBC_PREREQ(2, 6))
11 #define HAVE_SYNC_FILE_RANGE 1