Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit16c4e6d

Browse files
committed
Clean up Makefile.win32 "-I" flag additions.
The PGXS-case directory does not exist in the non-PGXS case, and viceversa. Add one or the other, not both. This is essentially cosmetic.It makes Makefile.win32 more like the similar Makefile.global code.
1 parent5da944f commit16c4e6d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

‎src/makefiles/Makefile.win32

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# src/makefiles/Makefile.win32
22

3-
# Use replacement include files for those missing on Win32
4-
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
5-
63
ifdef PGXS
74
BE_DLLLIBS= -L$(libdir) -lpostgres
5+
override CPPFLAGS+= -I$(includedir_server)/port/win32
86
else
97
BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
8+
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
109
endif
1110

1211
AROPT = crs
@@ -44,11 +43,6 @@ ifneq (,$(findstring src/pl/plpython,$(subdir)))
4443
override CPPFLAGS+= -DUSE_DL_IMPORT
4544
endif
4645

47-
# special win32 headers are provided here
48-
ifdef PGXS
49-
override CPPFLAGS+= -I$(includedir_server)/port/win32
50-
endif
51-
5246
# it is better to install shared-libraries anyway?
5347
# may be overriden with make MAKE_DLL=false install
5448
ifndef MAKE_DLL

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp