mirror of
https://github.com/postgres/postgres.git
synced 2025-05-30 00:02:11 -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
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user