Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cmake/compilers/setupGNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,4 @@ if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
if(WIN32)
# MinGW automatically adds -ansi, so c++ code does not compile without this flag as well..
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -U__STRICT_ANSI__")
endif()
endif()
2 changes: 2 additions & 0 deletions src/mad_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifdef __MINGW32__
// problem with unistd compliance on Cygwin
typedef long long off64_t;
// For Windows _mkdir
#include <direct.h>
#endif

#ifdef _WIN32
Expand Down
Loading