Skip to content

Commit af44cac

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 the sources, which need some rework) Andreas Pflug
1 parent 768916d commit af44cac

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)
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