summaryrefslogtreecommitdiffstats
path: root/Include/pyatomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyatomic.h')
-rw-r--r--Include/pyatomic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/pyatomic.h b/Include/pyatomic.h
index 80bd825..aa55281 100644
--- a/Include/pyatomic.h
+++ b/Include/pyatomic.h
@@ -6,14 +6,14 @@
#include "pyconfig.h"
-#if defined(HAVE_STD_ATOMIC)
-#include <stdatomic.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
+#if defined(HAVE_STD_ATOMIC)
+#include <stdatomic.h>
+#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.