diff options
author | antirez <antirez@gmail.com> | 2014-12-11 15:19:23 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-12-11 15:19:23 +0100 |
commit | f24a0bc1c5ba15518cff8d058af7b8e49f02468f (patch) | |
tree | 0df5707809e98d672a79b62541bd815dfc208d8c /src/config.h | |
parent | ff01ce55d8c71335eb5a69f71d2712013d8480ed (diff) | |
download | redis-f24a0bc1c5ba15518cff8d058af7b8e49f02468f.tar.gz |
In redisIsSupervised() use MSG_NOSIGNAL only for Linux.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 1f2919ed2..2b5004baa 100644 --- a/src/config.h +++ b/src/config.h @@ -61,6 +61,11 @@ #define HAVE_BACKTRACE 1 #endif +/* MSG_NOSIGNAL. */ +#ifdef __linux__ +#define HAVE_MSG_NOSIGNAL 1 +#endif + /* Test for polling API */ #ifdef __linux__ #define HAVE_EPOLL 1 |