diff options
author | Victor Stinner <vstinner@python.org> | 2019-10-22 21:53:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 21:53:50 +0200 |
commit | 028f7349a0f6eaea0fec31becb587fcdf6e3cb28 (patch) | |
tree | 50ed359f27bb7e79c69cd8bff947b2e83e90e4bc /pyconfig.h.in | |
parent | Bump Sphinx to 2.2.0. (GH-16532) (diff) | |
download | cpython-028f7349a0f6eaea0fec31becb587fcdf6e3cb28.tar.gz cpython-028f7349a0f6eaea0fec31becb587fcdf6e3cb28.tar.bz2 cpython-028f7349a0f6eaea0fec31becb587fcdf6e3cb28.zip |
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.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index aca9751d4b7..9595d7537de 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. */ |