Fix VS2017 deprecated function warnings

This commit is contained in:
Allofich
2019-07-07 21:04:47 +09:00
parent a867406856
commit 882d82ce5d

View File

@@ -32,6 +32,7 @@
/* Include system network headers */
#if defined(__WIN32__) || defined(WIN32)
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define __USE_W32_SOCKETS
#ifdef _WIN64
#include <winsock2.h>