Content-Length: 286413 | pFad | http://github.com/postgrespro/postgres_cluster/commit/bd31794df7dc53719740aa8e2ea1578ea2b87285

99 Consistently define BUILDING_DLL during builds of src/port for Windows. · postgrespro/postgres_cluster@bd31794 · GitHub
Skip to content

Commit bd31794

Browse files
committed
Consistently define BUILDING_DLL during builds of src/port for Windows.
The MSVC build process already did so; this fixes the principal build process to match. Both processes already did likewise for src/common. This lets server builds of src/port reference postgres.exe data symbols.
1 parent d098b23 commit bd31794

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/makefiles/Makefile.cygwin

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ ifneq (,$(findstring src/common,$(subdir)))
2828
override CPPFLAGS+= -DBUILDING_DLL
2929
endif
3030

31+
ifneq (,$(findstring src/port,$(subdir)))
32+
override CPPFLAGS+= -DBUILDING_DLL
33+
endif
34+
3135
ifneq (,$(findstring timezone,$(subdir)))
3236
override CPPFLAGS+= -DBUILDING_DLL
3337
endif

src/makefiles/Makefile.win32

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ ifneq (,$(findstring src/common,$(subdir)))
2727
override CPPFLAGS+= -DBUILDING_DLL
2828
endif
2929

30+
ifneq (,$(findstring src/port,$(subdir)))
31+
override CPPFLAGS+= -DBUILDING_DLL
32+
endif
33+
3034
ifneq (,$(findstring timezone,$(subdir)))
3135
override CPPFLAGS+= -DBUILDING_DLL
3236
endif

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/bd31794df7dc53719740aa8e2ea1578ea2b87285

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy