evnet/SocketMonitor: move WIN32/ERROR comment to PollGroupWinSelect.hxx
This commit is contained in:
parent
2670e13cbd
commit
3c41e9f022
@ -31,14 +31,6 @@
|
||||
|
||||
#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
|
||||
struct pollfd;
|
||||
#endif
|
||||
|
@ -32,6 +32,8 @@
|
||||
#include <windows.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
|
||||
#undef ERROR
|
||||
#endif
|
||||
|
@ -29,14 +29,6 @@
|
||||
#include <assert.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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user