mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
gh-91731: Fix typo in pymacro.h (#92618)
* Fix typo in pymacro.h * Update Include/pymacro.h Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
7c6b7ade8d
commit
4e6da502f4
@ -10,7 +10,7 @@
|
|||||||
# define static_assert _Static_assert
|
# define static_assert _Static_assert
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// static_assert is defined in GLIB from version 2.16. Before it requires
|
// static_assert is defined in glibc from version 2.16. Before it requires
|
||||||
// compiler support (gcc >= 4.6) and is called _Static_assert.
|
// compiler support (gcc >= 4.6) and is called _Static_assert.
|
||||||
#if (defined(__GLIBC__) \
|
#if (defined(__GLIBC__) \
|
||||||
&& (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 16)) \
|
&& (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 16)) \
|
||||||
|
Loading…
Reference in New Issue
Block a user