Skip to content

Commit

Permalink
Remove marco NOMINMAX
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Dec 2, 2023
1 parent b72ea18 commit 5221fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if (MSVC)
add_definitions(
-DWIN32_LEAN_AND_MEAN
-D_WIN32_WINNT=0x0601
-DNOMINMAX
# -DNOMINMAX
-DUNICODE
-D_UNICODE
-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
Expand Down Expand Up @@ -140,7 +140,7 @@ elseif(WIN32)
add_definitions(
-DWIN32_LEAN_AND_MEAN
-D_WIN32_WINNT=0x0601
-DNOMINMAX
# -DNOMINMAX
-DUNICODE
-D_UNICODE
-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
Expand Down Expand Up @@ -288,7 +288,7 @@ if (ENABLE_USE_WOLFSSL)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-stringop-overflow")
endif()
elseif (MSVC)
add_definitions(-DNOMINMAX -DWOLFSSL_LIB)
# add_definitions(-DNOMINMAX -DWOLFSSL_LIB)
endif()

add_subdirectory(third_party/wolfssl)
Expand Down

0 comments on commit 5221fe6

Please sign in to comment.