mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Define WIN32, to get proper struct alignment in WinSock2.h.
Fixes #1462352. Will backport.
This commit is contained in:
parent
7f5b6f4b33
commit
2f36caf8ff
1 changed files with 2 additions and 2 deletions
|
|
@ -2,12 +2,12 @@
|
|||
!IFDEF DEBUG
|
||||
MODULE=_ssl_d.pyd
|
||||
TEMP_DIR=x86-temp-debug/_ssl
|
||||
CFLAGS=/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG
|
||||
CFLAGS=/Od /Zi /MDd /LDd /DDEBUG /D_DEBUG /DWIN32
|
||||
SSL_LIB_DIR=$(SSL_DIR)/out32.dbg
|
||||
!ELSE
|
||||
MODULE=_ssl.pyd
|
||||
TEMP_DIR=x86-temp-release/_ssl
|
||||
CFLAGS=/Ox /MD /LD
|
||||
CFLAGS=/Ox /MD /LD /DWIN32
|
||||
SSL_LIB_DIR=$(SSL_DIR)/out32
|
||||
!ENDIF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue