aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-06-04 13:30:04 +0000
committerBruce Momjian <bruce@momjian.us>2004-06-04 13:30:04 +0000
commitaf44cac6ef46e225ae963c5e1f9e2e91a0112e04 (patch)
tree562b86bc42a20c3024d9994017e975fc46c0a934
parent768916d753cbe9ff0fbcb2557435be54d8b7d5df (diff)
downloadpostgresql-af44cac6ef46e225ae963c5e1f9e2e91a0112e04.tar.gz
postgresql-af44cac6ef46e225ae963c5e1f9e2e91a0112e04.zip
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
-rw-r--r--src/interfaces/libpq/win32.mak8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/interfaces/libpq/win32.mak b/src/interfaces/libpq/win32.mak
index 16b4fd02099..99e94fc6930 100644
--- a/src/interfaces/libpq/win32.mak
+++ b/src/interfaces/libpq/win32.mak
@@ -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