aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-12 10:52:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-12 10:52:58 -0400
commite7bcde8ca0d376d9d23d61855baf67122a66c76a (patch)
tree04ada4d9517bd326f012c06cd8da63cc7f61b605
parentcd13471f2e9dee6d411cae3ddae72d0ad6b58c4d (diff)
downloadpostgresql-e7bcde8ca0d376d9d23d61855baf67122a66c76a.tar.gz
postgresql-e7bcde8ca0d376d9d23d61855baf67122a66c76a.zip
Remove unnecessary definition of _WIN64 in libpq/win32.mak.
In commit b0e40d189325dc7a54d2546245e766f8c47a7c8d, I should have just removed the /D switch defining WIN64. The reason the code worked before is that all Windows64 compilers automatically predefine _WIN64. Perhaps at one time we had code that depended on WIN64 being defined, but it's long gone, and we should not encourage any reappearance. Per discussion with Christian Ullrich.
-rw-r--r--src/interfaces/libpq/win32.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/win32.mak b/src/interfaces/libpq/win32.mak
index 1d8c84d5a28..88c36570352 100644
--- a/src/interfaces/libpq/win32.mak
+++ b/src/interfaces/libpq/win32.mak
@@ -16,7 +16,7 @@ CPU=i386
!MESSAGE Building the Win32 static library...
!MESSAGE
!ELSEIF ("$(CPU)" == "IA64")||("$(CPU)" == "AMD64")
-ADD_DEFINES=/D "_WIN64" /Wp64 /GS
+ADD_DEFINES=/Wp64 /GS
ADD_SECLIB=bufferoverflowU.lib
!MESSAGE Building the Win64 static library...
!MESSAGE