mirror of https://mirror.osredm.com/root/redis.git
Merge 1a44867caa
into 6995d8ac17
This commit is contained in:
commit
666ed929b2
|
@ -10,6 +10,8 @@
|
|||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <fcntl.h> // for fcntl(fd, F_FULLFSYNC)
|
||||
#include <AvailabilityMacros.h>
|
||||
|
@ -85,7 +87,9 @@
|
|||
#endif
|
||||
|
||||
/* Test for accept4() */
|
||||
#if defined(__linux__) || defined(OpenBSD5_7) || \
|
||||
#if defined(__linux__) || \
|
||||
defined(OpenBSD5_7) || \
|
||||
__DragonFly_version >= 400305 || \
|
||||
(__FreeBSD__ >= 10 || __FreeBSD_version >= 1000000) || \
|
||||
(defined(NetBSD8_0) || __NetBSD_Version__ >= 800000000)
|
||||
#define HAVE_ACCEPT4 1
|
||||
|
|
Loading…
Reference in New Issue