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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy