X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4800331bf859f5bb0313a7187963f1cc9b7e2a1c..89423052cab4700291f290819d53f4fbb8dabf95:/src/config.h?ds=sidebyside diff --git a/src/config.h b/src/config.h index 57acb6db..5e6d2807 100644 --- a/src/config.h +++ b/src/config.h @@ -57,7 +57,7 @@ #ifdef __linux__ #include #include -#ifdef __GLIBC__ +#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) #if (LINUX_VERSION_CODE >= 0x020611 && __GLIBC_PREREQ(2, 6)) #define HAVE_SYNC_FILE_RANGE 1 #endif