summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-22 20:19:32 (GMT)
committerGitHub <noreply@github.com>2019-10-22 20:19:32 (GMT)
commitdbcea39ba713cc5b31fa1a243b16a0128c231c98 (patch)
tree3efd644282febc16eb4db612a8e0ac1c32903e3f /pyconfig.h.in
parent2f8d4f08e2fa62cd5c3f6f824be3e7513ff87e07 (diff)
downloadcpython-dbcea39ba713cc5b31fa1a243b16a0128c231c98.zip
cpython-dbcea39ba713cc5b31fa1a243b16a0128c231c98.tar.gz
cpython-dbcea39ba713cc5b31fa1a243b16a0128c231c98.tar.bz2
bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)
Fix stdatomic.h header check for ICC compiler: the ICC implementation lacks atomic_uintptr_t type which is needed by Python. Test: * atomic_int and atomic_uintptr_t types * atomic_load_explicit() and atomic_store_explicit() * memory_order_relaxed and memory_order_seq_cst constants But don't test ATOMIC_VAR_INIT(): it's not used in Python. (cherry picked from commit 028f7349a0f6eaea0fec31becb587fcdf6e3cb28) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 5f952d2..aaa7b72 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1025,7 +1025,7 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
-/* Has stdatomic.h with atomic_int */
+/* Has stdatomic.h with atomic_int and atomic_uintptr_t */
#undef HAVE_STD_ATOMIC
/* Define to 1 if you have the `strdup' function. */