[issue17590] mingw: translate gcc internal defines to python platform specific defines

Martin Panter report at bugs.python.org
Thu Mar 10 04:30:53 EST 2016


Martin Panter added the comment:

What’s the point of allowing each macro to already be defined? I understand they may also be defined by PC/pyconfig.h, but is that possible if __MINGW32__ is defined?

Is the __MINGW32__ condition needed at all? Maybe we can just blindly rely on the _WIN32 etc macros. Perhaps the PC/pyconfig.h definitions could be removed in favour of the ones in "pyport.h"?

----------
components: +Windows
nosy: +Alex.Willmer, martin.panter, paul.moore, steve.dower, tim.golden, zach.ware
stage:  -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17590>
_______________________________________


More information about the Python-bugs-list mailing list