mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Blind attempt at fixing the non-MSVC Windows builds
Apparently, they need -DBUILDING_DLL for the Assert() declarations to work correctly.
This commit is contained in:
parent
6da378dbc9
commit
af0a4c5924
@ -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
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user