Ronald Oussoren wrote: > If I understand this discussion correctly that code that would be > conditionalized using this define is the IS_SELECTABLE macro in > selectmodule.c and very simular code in other modules. I'd say that > calling the test _Py_IS_SELECTABLE and putting it into pyport.h > as Tim mentioned in an aside seems to be a good solution. At the > very least it is a lot nicer than defining a very long name in > pyconfig.h and then having very simular code in several #if blocks. For the moment, I have committed Tim's original proposal. Moving the macro into pyport.h could be done in addition. That should be done only if selectmodule is also adjusted; this currently tests for _MSC_VER. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4