Skip to content

Commit 9008b3c

Browse files
committed
Try to add windows tcpip headers
1 parent 06b535c commit 9008b3c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

include/enet/win32.h

+11
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@
1414
#endif
1515
#endif
1616

17+
18+
#ifndef WIN32_LEAN_AND_MEAN
19+
#define WIN32_LEAN_AND_MEAN
20+
#endif
21+
#ifndef _WIN32_WINNT
22+
#define _WIN32_WINNT 0x0501
23+
#endif
24+
#define NOMINMAX
25+
#include <windows.h>
26+
#include <ws2tcpip.h>
27+
1728
#include <stdlib.h>
1829
#include <winsock2.h>
1930

0 commit comments

Comments
 (0)