From: Victor Stinner Date: Thu, 12 Mar 2015 15:04:41 +0000 (+0100) Subject: Issue #23644, #22038: Move #include inside the extern "C" { ... } X-Git-Tag: v3.5.0a3~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b6d0ae8fe50123d23f07190e8f792a1dd19cc61;p=python Issue #23644, #22038: Move #include inside the extern "C" { ... } block in pyatomic.h --- diff --git a/Include/pyatomic.h b/Include/pyatomic.h index 80bd825bd7..aa55281a64 100644 --- a/Include/pyatomic.h +++ b/Include/pyatomic.h @@ -6,14 +6,14 @@ #include "pyconfig.h" -#if defined(HAVE_STD_ATOMIC) -#include -#endif - #ifdef __cplusplus extern "C" { #endif +#if defined(HAVE_STD_ATOMIC) +#include +#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.