diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 01:13:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 01:13:19 (GMT) |
commit | 4f5366e65a4d773fb5dda3329bd7b7c5425718fb (patch) | |
tree | c70447430a17fd84b9b2270a4707e36334a69d3e /pyconfig.h.in | |
parent | b551fac136940975e646ba8ed97dad455890bc3b (diff) | |
download | cpython-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.in | 6 |
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 |