diff options
Diffstat (limited to 'include/limits.h')
-rw-r--r-- | include/limits.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/limits.h b/include/limits.h index 87796f213e..e5576fcfcb 100644 --- a/include/limits.h +++ b/include/limits.h @@ -142,7 +142,7 @@ /* The integer width macros are not defined by GCC's <limits.h> before GCC 7, or if _GNU_SOURCE rather than __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature. */ -#if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) +#if __GLIBC_USE (IEC_60559_BFP_EXT_C23) # ifndef CHAR_WIDTH # define CHAR_WIDTH 8 # endif @@ -179,9 +179,9 @@ #endif /* Use IEC_60559_BFP_EXT. */ /* The macros for _Bool are not defined by GCC's <limits.h> before GCC - 11, or if _GNU_SOURCE is defined rather than enabling C2x support + 11, or if _GNU_SOURCE is defined rather than enabling C23 support with -std. */ -#if __GLIBC_USE (ISOC2X) +#if __GLIBC_USE (ISOC23) # ifndef BOOL_MAX # define BOOL_MAX 1 # endif |