summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/pyatomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Include/pyatomic.h')
-rw-r--r--contrib/tools/python3/Include/pyatomic.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/tools/python3/Include/pyatomic.h b/contrib/tools/python3/Include/pyatomic.h
new file mode 100644
index 00000000000..2ce2c81cf52
--- /dev/null
+++ b/contrib/tools/python3/Include/pyatomic.h
@@ -0,0 +1,16 @@
+#ifndef Py_ATOMIC_H
+#define Py_ATOMIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef Py_LIMITED_API
+# define Py_CPYTHON_ATOMIC_H
+# include "cpython/pyatomic.h"
+# undef Py_CPYTHON_ATOMIC_H
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_ATOMIC_H */