]> granicus.if.org Git - python/commit
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC preprocessor...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 25 May 2013 11:23:03 +0000 (13:23 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 25 May 2013 11:23:03 +0000 (13:23 +0200)
commit19fef69b752d5a1e836ba5b552a8e68592503852
tree40fdaa6cd10edeeb69807f4ec807af7b36ab7666
parent765f3cce4891ad1e00f809070c3e8d11e85a8a56
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC preprocessor doesn't process #ifdef's inside a macro argument list.

(found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html)
Modules/_ssl.c