Skip to content

Commit

Permalink
Explicitly and manually define _MSC_VER on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sneumann committed Nov 27, 2021
1 parent 1aeecc6 commit d76a1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ARCH_OBJS=./boost/libs/filesystem/src/path_traits.o \
./boost/libs/thread/src/win32/tss_dll.o \
./boost/libs/thread/src/win32/thread.o \
./boost_aux/boost/nowide/iostream.o
ARCH_CPPFLAGS=-fpermissive -DWINDOWS_NATIVE -DWIN32 -DBOOST_HAS_WINTHREADS -DBOOST_THREAD_BUILD_LIB
ARCH_CPPFLAGS=-fpermissive -DWINDOWS_NATIVE -DWIN32 -D_MSC_VER -DBOOST_HAS_WINTHREADS -DBOOST_THREAD_BUILD_LIB
ARCH_LIBS=-lws2_32 -lz
RHDF5_LIBS=$(shell echo 'Rhdf5lib::pkgconfig("PKG_CXX_LIBS")'| "${R_HOME}/bin/R" --vanilla --slave)
else
Expand Down

0 comments on commit d76a1fe

Please sign in to comment.