summaryrefslogtreecommitdiff
path: root/src/socketengines
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-03-02 21:23:08 +0000
committerAttila Molnar <attilamolnar@hush.com>2014-04-11 15:39:30 +0200
commit72a6b6077644abbdad1a61acbbd07bd01ba1b9bd (patch)
tree3438201ec03c92bf9ee7e97b7e7e532d85ce04b4 /src/socketengines
parent2803ae5d75e610fb821b7fdb3771777d62ac9fd3 (diff)
Clean up a bunch of legacy code in the Poll socketengine.
Diffstat (limited to 'src/socketengines')
-rw-r--r--src/socketengines/socketengine_poll.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp
index ac5e02cfd..8fa0a13c5 100644
--- a/src/socketengines/socketengine_poll.cpp
+++ b/src/socketengines/socketengine_poll.cpp
@@ -29,17 +29,8 @@
#include "inspircd.h"
#include "socketengine.h"
-#ifndef _WIN32
-# ifndef __USE_XOPEN
-# define __USE_XOPEN /* fuck every fucking OS ever made. needed by poll.h to work.*/
-# endif
-# include <poll.h>
-# include <sys/poll.h>
-# include <sys/resource.h>
-#else
-# define struct pollfd WSAPOLLFD
-# define poll WSAPoll
-#endif
+#include <sys/poll.h>
+#include <sys/resource.h>
/** A specialisation of the SocketEngine class, designed to use poll().
*/