1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

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.
This commit is contained in:
Tom Lane
2006-11-21 23:26:47 +00:00
parent d735804f88
commit 617f123f06
7 changed files with 7 additions and 7 deletions

View File

@ -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 \

View File

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