Skip to content

Commit

Permalink
remove NOMINMAX in MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Nov 30, 2023
1 parent 610c5fc commit be5c32c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ endif ()
if (MSVC)
include_directories(SYSTEM libs/third_party/pthreadwin32)
add_compile_options(-bigobj)
add_compile_definitions(NOMINMAX)
if (MSVC_VERSION GREATER_EQUAL 1914)
add_compile_options("/Zc:__cplusplus")
endif ()
Expand Down
4 changes: 0 additions & 4 deletions pystaq/staq_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
* SOFTWARE.
*/

#if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
#define NOMINMAX
#endif

#include <sstream>

#include <pybind11/pybind11.h>
Expand Down

0 comments on commit be5c32c

Please sign in to comment.