We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab09b09 commit 95a15a7Copy full SHA for 95a15a7
CMakeLists.txt
@@ -111,8 +111,8 @@ if (WIN32)
111
if (MSVC)
112
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
113
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8")
114
+ add_definitions(-DNOMINMAX)
115
if (NOT CLANG)
- add_definitions(-DNOMINMAX)
116
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
117
endif()
118
src/viewer/scrollview.cpp
@@ -18,8 +18,6 @@
18
///////////////////////////////////////////////////////////////////////
19
//
20
21
-#define NOMINMAX
22
-
23
#include <algorithm>
24
#include <climits>
25
#include <cstdarg>
0 commit comments