Skip to content
Snippets Groups Projects
Commit 9156cd0e authored by Soeren Peters's avatar Soeren Peters
Browse files

Remove redundant -DNOMINMAX definition. Adds syscall include on unix systems.

parent 7097bbff
No related branches found
No related tags found
No related merge requests found
......@@ -43,10 +43,6 @@ include("${CMAKE_PATH}/VirtualFluidsMacros.cmake")
#################################################################################
# COMMON LIBRARIES
#################################################################################
if(MSVC)
ADD_DEFINITIONS ( "-DNOMINMAX" ) # Disable Min/Max-Macros
endif()
add_subdirectory(src/basics)
#################################################################################
......
......@@ -71,8 +71,8 @@
#if defined(__unix__) && defined(__CYGWIN__)
#define UBSYSTEM_CYGWIN
#include <windows.h>
#else
//#include <sys/syscall.h> // TODO: Did not work on windows!
#elif defined(__unix__)
#include <sys/syscall.h>
#endif
#if defined(min) || defined(max) //daruch kann man sich spaeter #undef min; #undef max erparen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment