Commit 2f36caf8 authored by Martin v. Löwis's avatar Martin v. Löwis

Define WIN32, to get proper struct alignment in WinSock2.h.

Fixes #1462352. Will backport.
parent 7f5b6f4b
...@@ -2,12 +2,12 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment