mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
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
This commit is contained in:
parent
768916d753
commit
af44cac6ef
@ -77,11 +77,13 @@ CLEAN :
|
||||
|
||||
|
||||
|
||||
config: ..\..\include\pg_config.h
|
||||
config: ..\..\include\pg_config.h pg_config_paths.h
|
||||
|
||||
..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
|
||||
copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
|
||||
|
||||
pg_config_paths.h: win32.mak
|
||||
echo #define SYSCONFDIR "" >pg_config_paths.h
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
@ -95,6 +97,10 @@ CPP_PROJ=$(CPP_PROJ) /D USE_SSL
|
||||
SSL_LIBS=ssleay32.lib libeay32.lib gdi32.lib
|
||||
!ENDIF
|
||||
|
||||
!IFDEF ENABLE_THREAD_SAFETY
|
||||
CPP_PROJ=$(CPP_PROJ) /D ENABLE_THREAD_SAFETY
|
||||
!ENDIF
|
||||
|
||||
CPP_SBRS=.
|
||||
|
||||
LIB32=link.exe -lib
|
||||
|
Loading…
Reference in New Issue
Block a user