STINNER Victor added the comment: You can try to add an ifdef in Include/pyatomic.h. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24844> _______________________________________