Skip to content

Commit ba3fb5d

Browse files
committed
Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds.
The MSVC build system already did this, and commit 617dc6d used it in a second file. Back-patch to 9.4, like that commit. Discussion: https://postgr.es/m/CAA8=A7_1SWc3+3Z=-utQrQFOtrj_DeohRVt7diA2tZozxsyUOQ@mail.gmail.com
1 parent 9efe068 commit ba3fb5d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/backend/tcop/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@ include $(top_builddir)/src/Makefile.global
1414

1515
OBJS= dest.o fastpath.o postgres.o pquery.o utility.o
1616

17-
ifneq (,$(filter $(PORTNAME),cygwin win32))
18-
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
19-
endif
20-
2117
include $(top_srcdir)/src/backend/common.mk

src/makefiles/Makefile.cygwin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ AROPT = crs
1414
DLSUFFIX = .dll
1515
CFLAGS_SL =
1616

17+
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
18+
1719
ifneq (,$(findstring backend,$(subdir)))
1820
ifeq (,$(findstring conversion_procs,$(subdir)))
1921
ifeq (,$(findstring libpqwalreceiver,$(subdir)))

src/makefiles/Makefile.win32

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
88
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
99
endif
1010

11+
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
12+
1113
AROPT = crs
1214
DLSUFFIX = .dll
1315
CFLAGS_SL =

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