We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0d31d commit de1172fCopy full SHA for de1172f
src/interfaces/libpq/win32.mak
@@ -6,17 +6,24 @@
6
# USE_KFW=1 will compile with kfw(kerberos for Windows)
7
# DEBUG=1 compiles with debugging symbols
8
# ENABLE_THREAD_SAFETY=1 compiles with threading enabled
9
+
10
+ENABLE_THREAD_SAFETY=1
11
12
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
13
-!IF "$(CPU)" == ""
14
+!IF ("$(CPU)" == "")||("$(CPU)" == "i386")
15
CPU=i386
16
!MESSAGE Building the Win32 static library...
17
!MESSAGE
-!ELSE
18
+!ELSEIF ("$(CPU)" == "IA64")||("$(CPU)" == "AMD64")
19
ADD_DEFINES=/D "WIN64" /Wp64 /GS
20
ADD_SECLIB=bufferoverflowU.lib
21
!MESSAGE Building the Win64 static library...
22
23
+!ELSE
24
+!MESSAGE Please check a CPU=$(CPU) ?
25
+!MESSAGE CPU=i386 or AMD64 or IA64
26
+!ERROR Make aborted.
27
!ENDIF
28
29
!IFDEF DEBUG
0 commit comments