https://hg.python.org/cpython/rev/eb48295e1f8b changeset: 94957:eb48295e1f8b user: Victor Stinner <victor.stinner at gmail.com> date: Thu Mar 12 16:04:41 2015 +0100 summary: Issue #23644, #22038: Move #include <stdatomic.c> inside the extern "C" { ... } block in pyatomic.h files: Include/pyatomic.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Include/pyatomic.h b/Include/pyatomic.h --- a/Include/pyatomic.h +++ b/Include/pyatomic.h @@ -6,14 +6,14 @@ #include "pyconfig.h" +#ifdef __cplusplus +extern "C" { +#endif + #if defined(HAVE_STD_ATOMIC) #include <stdatomic.h> #endif -#ifdef __cplusplus -extern "C" { -#endif - /* This is modeled after the atomics interface from C1x, according to * the draft at * http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1425.pdf. -- Repository URL: https://hg.python.org/cpython