Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde1172f

Browse files
committed
Default to thread safety on, and support more CPU options. Also
make sure that a CPU option is actually chosen.Hiroshi Saito
1 parent5a0d31d commitde1172f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎src/interfaces/libpq/win32.mak

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,24 @@
66
# USE_KFW=1 will compile with kfw(kerberos for Windows)
77
# DEBUG=1 compiles with debugging symbols
88
# ENABLE_THREAD_SAFETY=1 compiles with threading enabled
9+
10+
ENABLE_THREAD_SAFETY=1
11+
912
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
1013

11-
!IF "$(CPU)" == ""
14+
!IF("$(CPU)" == "")||("$(CPU)" == "i386")
1215
CPU=i386
1316
!MESSAGE Building the Win32 static library...
1417
!MESSAGE
15-
!ELSE
18+
!ELSEIF ("$(CPU)" == "IA64")||("$(CPU)" == "AMD64")
1619
ADD_DEFINES=/D "WIN64" /Wp64 /GS
1720
ADD_SECLIB=bufferoverflowU.lib
1821
!MESSAGE Building the Win64 static library...
1922
!MESSAGE
23+
!ELSE
24+
!MESSAGE Please check a CPU=$(CPU) ?
25+
!MESSAGE CPU=i386 or AMD64 or IA64
26+
!ERROR Make aborted.
2027
!ENDIF
2128

2229
!IFDEF DEBUG

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp