mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 06:02:10 +08:00
port: include winsock2 explicitly, so winsock1 would not be included with windows.h
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user