Commit af0a4c59 authored by Alvaro Herrera's avatar Alvaro Herrera

Blind attempt at fixing the non-MSVC Windows builds

Apparently, they need -DBUILDING_DLL for the Assert() declarations to
work correctly.
parent 6da378db
...@@ -25,6 +25,10 @@ endif ...@@ -25,6 +25,10 @@ endif
endif endif
endif endif
ifneq (,$(findstring src/common,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL
endif
ifneq (,$(findstring timezone,$(subdir))) ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
endif endif
......
...@@ -23,6 +23,10 @@ endif ...@@ -23,6 +23,10 @@ endif
endif endif
endif endif
ifneq (,$(findstring src/common,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL
endif
ifneq (,$(findstring timezone,$(subdir))) ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment