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

Commitb8ce3d3

Browse files
committed
Build with /GS on 64-bit to work with modern Platform SDK.
Hiroshi Saito
1 parent8ddeb48 commitb8ce3d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/interfaces/libpq/win32.mak

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ CPU=i386
1313
!MESSAGE Building the Win32 static library...
1414
!MESSAGE
1515
!ELSE
16-
ADD_DEFINES=/D "WIN64" /Wp64
16+
ADD_DEFINES=/D "WIN64" /Wp64 /GS
17+
ADD_SECLIB=bufferoverflowU.lib
1718
!MESSAGE Building the Win64 static library...
1819
!MESSAGE
1920
!ENDIF
@@ -175,7 +176,7 @@ CPP_SBRS=.
175176
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\libpq.res"
176177

177178
LINK32=link.exe
178-
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib secur32.lib$(SSL_LIBS)$(KFW_LIB)\
179+
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib secur32.lib$(SSL_LIBS)$(KFW_LIB)$(ADD_SECLIB)\
179180
/nologo /subsystem:windows /dll$(LOPT) /incremental:no\
180181
/pdb:"$(OUTDIR)\libpqdll.pdb" /machine:$(CPU)\
181182
/out:"$(OUTDIR)\$(OUTFILENAME).dll"\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp