mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
port: include winsock2 explicitly, so winsock1 would not be included with windows.h
This commit is contained in:
parent
ee2c1ad8fa
commit
37f9c25212
@ -116,6 +116,8 @@ GNU General Public License for more details.
|
||||
#pragma warning(disable : 4310) // cast truncates constant value
|
||||
|
||||
#define HSPRITE WINAPI_HSPRITE
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#undef HSPRITE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user