X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/f3053eb0eb704dea7ff39f389f344a37e3985aab..798d9e55317d67fa694e5408dc30a61e021e8b49:/config.h diff --git a/config.h b/config.h index 86e943dd..754d3aa8 100644 --- a/config.h +++ b/config.h @@ -31,7 +31,7 @@ #define HAVE_EPOLL 1 #endif -#ifdef __APPLE__ +#if (defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_6)) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined (__NetBSD__) #define HAVE_KQUEUE 1 #endif