summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-10-22 21:53:50 +0200
committerGitHub <noreply@github.com>2019-10-22 21:53:50 +0200
commit028f7349a0f6eaea0fec31becb587fcdf6e3cb28 (patch)
tree50ed359f27bb7e79c69cd8bff947b2e83e90e4bc /pyconfig.h.in
parentc987090c731a363c58a02d0efcb3c2d49ccf61ed (diff)
downloadcpython-git-028f7349a0f6eaea0fec31becb587fcdf6e3cb28.tar.gz
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.
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 aca9751d4b..9595d7537d 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1018,7 +1018,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. */