From 8ed53717c4f0a480f4d53e8baae91bcb98a962ce Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 31 Dec 2024 15:26:12 -0300 Subject: conform: Do not use __SIG_ATOMIC_TYPE__ clang does not define __SIG_ATOMIC_TYPE__, instead add another directive ('size:') which instruct to use an integer type of defined minimum size. Reviewed-by: Sam James --- conform/data/stdint.h-data | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conform/data/stdint.h-data') diff --git a/conform/data/stdint.h-data b/conform/data/stdint.h-data index 4e84e17fb8..5d65d4ecd5 100644 --- a/conform/data/stdint.h-data +++ b/conform/data/stdint.h-data @@ -88,8 +88,8 @@ macro-int-constant UINTMAX_MAX {promoted:uintmax_t} >= 18446744073709551615ULL macro-int-constant PTRDIFF_MIN {promoted:__PTRDIFF_TYPE__} <= -65535 macro-int-constant PTRDIFF_MAX {promoted:__PTRDIFF_TYPE__} >= 65535 -macro-int-constant SIG_ATOMIC_MIN {promoted:__SIG_ATOMIC_TYPE__} -macro-int-constant SIG_ATOMIC_MAX {promoted:__SIG_ATOMIC_TYPE__} >= 127 +macro-int-constant SIG_ATOMIC_MIN {size:__SIG_ATOMIC_WIDTH__} +macro-int-constant SIG_ATOMIC_MAX {size:__SIG_ATOMIC_WIDTH__} >= 127 macro-int-constant SIZE_MAX {promoted:__SIZE_TYPE__} >= 65535 -- cgit v1.2.3