In redisIsSupervised() use MSG_NOSIGNAL only for Linux.

This commit is contained in:
antirez
2014-12-11 15:19:23 +01:00
parent ff01ce55d8
commit f24a0bc1c5
2 changed files with 11 additions and 2 deletions

View File

@ -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