summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/poller.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/poller.hpp b/src/network/poller.hpp
index e6ce7f2..fe52fda 100644
--- a/src/network/poller.hpp
+++ b/src/network/poller.hpp
@@ -9,11 +9,9 @@
#define POLL 1
#define EPOLL 2
#define KQUEUE 3
-
#include <config.h>
#ifndef POLLER
- // Default standard poller
- #define POLLER EPOLL
+ #define POLLER POLL
#endif
#if POLLER == POLL
@@ -21,6 +19,8 @@
#define MAX_POLL_FD_NUMBER 4096
#elif POLLER == EPOLL
#include <sys/epoll.h>
+#else
+ #error Invalid POLLER value
#endif
/**