|
|
@@ -137,9 +137,15 @@
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
#endif
|
|
|
+ #ifndef _CRT_NONSTDC_NO_DEPRECATE
|
|
|
#define _CRT_NONSTDC_NO_DEPRECATE
|
|
|
+ #endif
|
|
|
+ #ifndef _CRT_SECURE_NO_WARNINGS
|
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
|
+ #endif
|
|
|
+ #ifndef _WINSOCK_DEPRECATED_NO_WARNINGS
|
|
|
#define _WINSOCK_DEPRECATED_NO_WARNINGS
|
|
|
+ #endif
|
|
|
#include <winsock2.h>
|
|
|
#include <ws2tcpip.h> // for inet_pton,inet_ntop
|
|
|
#include <windows.h>
|