mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +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
|
!IFDEF DEBUG
|
||||||
MODULE=_ssl_d.pyd
|
MODULE=_ssl_d.pyd
|
||||||
TEMP_DIR=x86-temp-debug/_ssl
|
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
|
SSL_LIB_DIR=$(SSL_DIR)/out32.dbg
|
||||||
!ELSE
|
!ELSE
|
||||||
MODULE=_ssl.pyd
|
MODULE=_ssl.pyd
|
||||||
TEMP_DIR=x86-temp-release/_ssl
|
TEMP_DIR=x86-temp-release/_ssl
|
||||||
CFLAGS=/Ox /MD /LD
|
CFLAGS=/Ox /MD /LD /DWIN32
|
||||||
SSL_LIB_DIR=$(SSL_DIR)/out32
|
SSL_LIB_DIR=$(SSL_DIR)/out32
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue