aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-21 23:26:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-21 23:26:47 +0000
commit617f123f06691d0391664464ed85e05e5523dcbd (patch)
treee328e212be4ba37929374552fe638b6d9379f594 /src/interfaces
parentd735804f88cc5e5d240b7fac5d8d618d7938ed13 (diff)
downloadpostgresql-617f123f06691d0391664464ed85e05e5523dcbd.tar.gz
postgresql-617f123f06691d0391664464ed85e05e5523dcbd.zip
Get rid of retail definitions of HAVE_STRDUP and HAVE_VSNPRINTF in
some of the Windows-only makefiles; the correct place to assert these things is pg_config.h.win32. Per bug #2677.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/bcc32.mak2
-rw-r--r--src/interfaces/libpq/win32.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/bcc32.mak b/src/interfaces/libpq/bcc32.mak
index 737f03a5744..30e25a29abb 100644
--- a/src/interfaces/libpq/bcc32.mak
+++ b/src/interfaces/libpq/bcc32.mak
@@ -59,7 +59,7 @@ INTDIR=.\Release
OUTFILENAME=blibpq
-USERDEFINES=FRONTEND;NDEBUG;WIN32;_WINDOWS;HAVE_VSNPRINTF;HAVE_STRDUP;
+USERDEFINES=FRONTEND;NDEBUG;WIN32;_WINDOWS
CPP=bcc32.exe
CPP_PROJ = -I$(BCB)\include;..\..\include;..\..\include\port\win32;..\..\include\port\win32_msvc;..\..\port -n"$(INTDIR)" -WD -c -D$(USERDEFINES) -tWM \
diff --git a/src/interfaces/libpq/win32.mak b/src/interfaces/libpq/win32.mak
index c53797ef0c0..0fd56eb1741 100644
--- a/src/interfaces/libpq/win32.mak
+++ b/src/interfaces/libpq/win32.mak
@@ -124,7 +124,7 @@ pg_config_paths.h: win32.mak
CPP_PROJ=/nologo /W3 /EHsc $(OPT) /I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" /I "..\..\port" /I. /D "FRONTEND" $(DEBUGDEF) /D\
"WIN32" /D "_WINDOWS" /Fp"$(INTDIR)\libpq.pch" \
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c \
- /D "HAVE_VSNPRINTF" /D "HAVE_STRDUP" /D "_CRT_SECURE_NO_DEPRECATE"
+ /D "_CRT_SECURE_NO_DEPRECATE"
!IFDEF USE_SSL
CPP_PROJ=$(CPP_PROJ) /D USE_SSL