We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 728c5c0 + 1c5a24a commit 1c74a6cCopy full SHA for 1c74a6c
cmake/compilers/setupGNU.cmake
@@ -42,8 +42,4 @@ if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
42
endif()
43
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
44
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
45
- if(WIN32)
46
- # MinGW automatically adds -ansi, so c++ code does not compile without this flag as well..
47
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -U__STRICT_ANSI__")
48
- endif()
49
src/mad_port.h
@@ -9,6 +9,8 @@
9
#ifdef __MINGW32__
10
// problem with unistd compliance on Cygwin
11
typedef long long off64_t;
12
+// For Windows _mkdir
13
+#include <direct.h>
14
#endif
15
16
#ifdef _WIN32
0 commit comments