summaryrefslogtreecommitdiff
path: root/lib/server/SocketListen.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server/SocketListen.h')
-rwxr-xr-xlib/server/SocketListen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/server/SocketListen.h b/lib/server/SocketListen.h
index f1f5e377..7042011c 100755
--- a/lib/server/SocketListen.h
+++ b/lib/server/SocketListen.h
@@ -16,7 +16,7 @@
#include <poll.h>
#include <memory>
#include <string>
-#ifndef PLATFORM_KQUEUE_NOT_SUPPORTED
+#ifdef HAVE_KQUEUE
#include <sys/event.h>
#include <sys/time.h>
#endif
@@ -226,7 +226,7 @@ public:
// Functions to allow adding to WaitForEvent class, for efficient waiting
// on multiple sockets.
-#ifndef PLATFORM_KQUEUE_NOT_SUPPORTED
+#ifdef HAVE_KQUEUE
// --------------------------------------------------------------------------
//
// Function