[Python-checkins] r43731 - python/trunk/PCbuild/_ssl.mak
martin.v.loewis
python-checkins at python.org
Sat Apr 8 11:13:44 CEST 2006
Author: martin.v.loewis
Date: Sat Apr 8 11:13:43 2006
New Revision: 43731
Modified:
python/trunk/PCbuild/_ssl.mak
Log:
Define WIN32, to get proper struct alignment in WinSock2.h.
Fixes #1462352. Will backport.
Modified: python/trunk/PCbuild/_ssl.mak
==============================================================================
--- python/trunk/PCbuild/_ssl.mak (original)
+++ python/trunk/PCbuild/_ssl.mak Sat Apr 8 11:13:43 2006
@@ -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
More information about the Python-checkins
mailing list