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>
|
#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 @@
|
|||||||
#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 @@
|
|||||||
#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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user