mirror of
https://github.com/python/cpython.git
synced 2024-11-29 21:05:33 +08:00
block in pyatomic.h
This commit is contained in:
parent
95bb714ff7
commit
3b6d0ae8fe
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user