Skip to content

Commit 1e350fc

Browse files
committed
nominmax on windows.h
1 parent c072a2e commit 1e350fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kit/net/net.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
#endif
99

1010
#ifdef __WIN32__
11-
#ifndef WIN32_LEAN_AND_MEAN
12-
#define WIN32_LEAN_AND_MEAN
13-
#endif
11+
#define WIN32_LEAN_AND_MEAN
12+
#define NOMINMAX
1413
#include <windows.h>
1514
#include <winsock2.h>
1615
typedef int socklen_t;

0 commit comments

Comments
 (0)