summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-17 22:53:27 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-17 22:53:27 +0100
commite5cb7bc5a80a77c85bab243ae01238d5367e6b8d (patch)
tree63e9e7fb9133de270acff0878eb0ef583ca2cd68 /Python/errors.c
parent548b08694c4ccadf9747d367e97ac1082f6bd26c (diff)
downloadcpython-e5cb7bc5a80a77c85bab243ae01238d5367e6b8d.tar.gz
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions