commit | 6562b29e13f4da98558636c43a1b242698c8f8d9 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 17 22:53:27 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 17 22:53:27 2015 +0100 |
tree | 7258ee9662971eb81dc9d87489091873b3dcc39a | |
parent | b28de01992fb2f1ab5c210157f719f74d3ea015a [diff] |
Issue #23644: Fix issues with C++ when compiling Python extensions Disable completly pyatomic.h on C++, because <stdatomic.h> is not compatible with C++. <pyatomic.h> is only needed by the optimized PyThreadState_GET() macro in pystate.h. Instead, declare PyThreadState_GET() as an alias to PyThreadState_Get(), as done for limited API.