Issue #23644, #22038: Move #include <stdatomic.c> inside the extern "C" { ... }

block in pyatomic.h
This commit is contained in:
Victor Stinner 2015-03-12 16:04:41 +01:00
parent 95bb714ff7
commit 3b6d0ae8fe
1 changed files with 4 additions and 4 deletions

View File

@ -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.