win: gcc doesn't grok #pragma warning
This commit is contained in:
parent
1ef60cb893
commit
1a2743cf5e
@ -13,12 +13,16 @@
|
|||||||
#define _WIN32_WINNT 0x0600
|
#define _WIN32_WINNT 0x0600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GNUC__
|
||||||
#pragma warning(push, 1)
|
#pragma warning(push, 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
|
|
||||||
|
#ifndef __GNUC__
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* WEPOLL_WIN_H_ */
|
#endif /* WEPOLL_WIN_H_ */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user