Commit 3c41e9f0 authored by Max Kellermann's avatar Max Kellermann

evnet/SocketMonitor: move WIN32/ERROR comment to PollGroupWinSelect.hxx

parent 2670e13c
...@@ -31,14 +31,6 @@ ...@@ -31,14 +31,6 @@
#include <assert.h> #include <assert.h>
#ifdef WIN32
/* ERROR is a WIN32 macro that poisons our namespace; this is a kludge
to allow us to use it anyway */
#ifdef ERROR
#undef ERROR
#endif
#endif
#ifndef WIN32 #ifndef WIN32
struct pollfd; struct pollfd;
#endif #endif
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include <windows.h> #include <windows.h>
#include <winsock2.h> #include <winsock2.h>
/* ERROR is a WIN32 macro that poisons our namespace; this is a kludge
to allow us to use it anyway */
#ifdef ERROR #ifdef ERROR
#undef ERROR #undef ERROR
#endif #endif
......
...@@ -29,14 +29,6 @@ ...@@ -29,14 +29,6 @@
#include <assert.h> #include <assert.h>
#include <stddef.h> #include <stddef.h>
#ifdef WIN32
/* ERROR is a WIN32 macro that poisons our namespace; this is a kludge
to allow us to use it anyway */
#ifdef ERROR
#undef ERROR
#endif
#endif
class EventLoop; class EventLoop;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment