Skip to content

Commit 3105844

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 203886d commit 3105844

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 snowball,$(subdir)))

src/makefiles/Makefile.win32

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ else
99
BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
1010
endif
1111

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

0 commit comments

Comments
 (0)