mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Fix VS2017 deprecated function warnings
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user