We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae41c46 commit af96f6dCopy full SHA for af96f6d
2 files changed
src/CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required (VERSION 3.0)
2
3
### Basic compilation settings
4
set (CMAKE_POSITION_INDEPENDENT_CODE TRUE)
5
+add_definitions (-DNOMINMAX)
6
7
configure_file (
8
common/config.h.in
src/common/PlaintextConnection.cpp
@@ -8,8 +8,6 @@
#else
9
# include <winsock2.h>
10
# include <ws2tcpip.h>
11
-# undef min
12
-# undef max
13
#endif // USE_WINSOCK
14
15
#include "PlaintextConnection.h"
0 commit comments