12 lines
453 B
Diff
12 lines
453 B
Diff
|
--- ../../build/redis/cache/redis-3.2.8/src/config.h 2017-02-12 16:14:57.000000000 +0100
|
||
|
+++ ./src/config.h 2017-03-02 22:42:23.207883845 +0100
|
||
|
@@ -96,7 +96,7 @@
|
||
|
|
||
|
/* Define rdb_fsync_range to sync_file_range() on Linux, otherwise we use
|
||
|
* the plain fsync() call. */
|
||
|
-#ifdef __linux__
|
||
|
+#ifdef __android__
|
||
|
#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
|
||
|
#if (LINUX_VERSION_CODE >= 0x020611 && __GLIBC_PREREQ(2, 6))
|
||
|
#define HAVE_SYNC_FILE_RANGE 1
|