Commit a16b2b72 authored by Victor Stinner's avatar Victor Stinner

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

block in pyatomic.h
parent 6dd87143
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment