mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 15:45:55 +02:00
Guard NOMINMAX ifdef (#3906)
This commit is contained in:
parent
b941a20b8c
commit
079b50e0c1
@ -26,15 +26,17 @@
|
||||
#endif
|
||||
|
||||
// disable min/max macros
|
||||
#define NOMINMAX
|
||||
#if !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#if !defined(POCO_NO_WINDOWS_H)
|
||||
#include <windows.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <winsock2.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif // __MINGW32__
|
||||
#include <windows.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <winsock2.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif // __MINGW32__
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
//
|
||||
|
||||
|
||||
#define NOMINMAX
|
||||
#include "Poco/Net/WebSocketImpl.h"
|
||||
#include "Poco/Net/NetException.h"
|
||||
#include "Poco/Net/WebSocket.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user