summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 01:13:19 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 01:13:19 (GMT)
commit4f5366e65a4d773fb5dda3329bd7b7c5425718fb (patch)
treec70447430a17fd84b9b2270a4707e36334a69d3e /pyconfig.h.in
parentb551fac136940975e646ba8ed97dad455890bc3b (diff)
downloadcpython-4f5366e65a4d773fb5dda3329bd7b7c5425718fb.zip
cpython-4f5366e65a4d773fb5dda3329bd7b7c5425718fb.tar.gz
cpython-4f5366e65a4d773fb5dda3329bd7b7c5425718fb.tar.bz2
Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions for
atomic memory access if available. Patch written by Vitor de Lima and Gustavo Temple.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 8107c3a..10d5f4a 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -101,6 +101,9 @@
/* Define if `unsetenv` does not return an int. */
#undef HAVE_BROKEN_UNSETENV
+/* Has builtin atomics */
+#undef HAVE_BUILTIN_ATOMIC
+
/* Define this if you have the type _Bool. */
#undef HAVE_C99_BOOL
@@ -877,6 +880,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
+/* Has stdatomic.h */
+#undef HAVE_STD_ATOMIC
+
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP