mirror of
https://github.com/postgres/postgres.git
synced 2025-06-06 00:02:36 -04:00
Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds.
The MSVC build system already did this, and commit 617dc6d299c957e2784320382b3277ede01d9c63 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
This commit is contained in:
parent
9efe068e48
commit
ba3fb5d4fb
@ -14,8 +14,4 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
|
|
||||||
OBJS= dest.o fastpath.o postgres.o pquery.o utility.o
|
OBJS= dest.o fastpath.o postgres.o pquery.o utility.o
|
||||||
|
|
||||||
ifneq (,$(filter $(PORTNAME),cygwin win32))
|
|
||||||
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(top_srcdir)/src/backend/common.mk
|
include $(top_srcdir)/src/backend/common.mk
|
||||||
|
@ -14,6 +14,8 @@ AROPT = crs
|
|||||||
DLSUFFIX = .dll
|
DLSUFFIX = .dll
|
||||||
CFLAGS_SL =
|
CFLAGS_SL =
|
||||||
|
|
||||||
|
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
|
||||||
|
|
||||||
ifneq (,$(findstring backend,$(subdir)))
|
ifneq (,$(findstring backend,$(subdir)))
|
||||||
ifeq (,$(findstring conversion_procs,$(subdir)))
|
ifeq (,$(findstring conversion_procs,$(subdir)))
|
||||||
ifeq (,$(findstring libpqwalreceiver,$(subdir)))
|
ifeq (,$(findstring libpqwalreceiver,$(subdir)))
|
||||||
|
@ -8,6 +8,8 @@ BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
|
|||||||
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
|
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
|
||||||
|
|
||||||
AROPT = crs
|
AROPT = crs
|
||||||
DLSUFFIX = .dll
|
DLSUFFIX = .dll
|
||||||
CFLAGS_SL =
|
CFLAGS_SL =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user