Permalink
Browse files

Blind attempt at fixing the non-MSVC Windows builds

Apparently, they need -DBUILDING_DLL for the Assert() declarations to
work correctly.
  • Loading branch information...
1 parent 6da378d commit af0a4c5924061869ee3db391900ab745107c966f @alvherre alvherre committed Feb 22, 2013
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/makefiles/Makefile.cygwin
  2. +4 −0 src/makefiles/Makefile.win32
@@ -25,6 +25,10 @@ endif
endif
endif
+ifneq (,$(findstring src/common,$(subdir)))
+override CPPFLAGS+= -DBUILDING_DLL
+endif
+
ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL
endif
@@ -23,6 +23,10 @@ endif
endif
endif
+ifneq (,$(findstring src/common,$(subdir)))
+override CPPFLAGS+= -DBUILDING_DLL
+endif
+
ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL
endif

0 comments on commit af0a4c5

Please sign in to comment.