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

Commitaf44cac

Browse files
committed
The attached patch will create a dummy pg_config_paths.h. Additionally,
ENABLE_THREAD_SAFETY is supported by the makefile (but not by thesources, which need some rework)Andreas Pflug
1 parent768916d commitaf44cac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/interfaces/libpq/win32.mak

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ CLEAN :
7777

7878

7979

80-
config: ..\..\include\pg_config.h
80+
config: ..\..\include\pg_config.h pg_config_paths.h
8181

8282
..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
8383
copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
8484

85+
pg_config_paths.h: win32.mak
86+
echo#define SYSCONFDIR "" >pg_config_paths.h
8587

8688
"$(OUTDIR)" :
8789
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@@ -95,6 +97,10 @@ CPP_PROJ=$(CPP_PROJ) /D USE_SSL
9597
SSL_LIBS=ssleay32.lib libeay32.lib gdi32.lib
9698
!ENDIF
9799

100+
!IFDEF ENABLE_THREAD_SAFETY
101+
CPP_PROJ=$(CPP_PROJ) /D ENABLE_THREAD_SAFETY
102+
!ENDIF
103+
98104
CPP_SBRS=.
99105

100106
LIB32=link.exe -lib

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp