Browse code

Explicitly and manually define _MSC_VER on Windows

Steffen Neumann authored on 27/11/2021 12:35:29
Showing1 changed files

... ...
@@ -103,7 +103,7 @@ ARCH_OBJS=./boost/libs/filesystem/src/path_traits.o \
103 103
 ./boost/libs/thread/src/win32/tss_dll.o \
104 104
 ./boost/libs/thread/src/win32/thread.o \
105 105
 ./boost_aux/boost/nowide/iostream.o
106
-ARCH_CPPFLAGS=-fpermissive -DWINDOWS_NATIVE -DWIN32 -DBOOST_HAS_WINTHREADS -DBOOST_THREAD_BUILD_LIB
106
+ARCH_CPPFLAGS=-fpermissive -DWINDOWS_NATIVE -DWIN32 -D_MSC_VER -DBOOST_HAS_WINTHREADS -DBOOST_THREAD_BUILD_LIB
107 107
 ARCH_LIBS=-lws2_32 -lz
108 108
 RHDF5_LIBS=$(shell echo 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")'| "${R_HOME}/bin/R" --vanilla --slave)  
109 109
 else