mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user