From fc07d91c8995ba73dcdb4bbc8fdc963616dc20cf Mon Sep 17 00:00:00 2001 From: Ken Dyck Date: Sun, 22 Nov 2009 15:47:12 +0000 Subject: [PATCH] Define SIG_ATOMIC_MIN and SIG_ATOMIC_MAX in terms of __SIG_ATOMIC_WIDTH__. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89598 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/stdint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h index 0502275c0b..15b6eaa627 100644 --- a/lib/Headers/stdint.h +++ b/lib/Headers/stdint.h @@ -621,8 +621,8 @@ typedef __uintn_t(__INTMAX_WIDTH__) uintmax_t; #define UINTMAX_MAX __UINTN_MAX(__INTMAX_WIDTH__) /* C99 7.18.3 Limits of other integer types. */ -#define SIG_ATOMIC_MIN INT32_MIN -#define SIG_ATOMIC_MAX INT32_MAX +#define SIG_ATOMIC_MIN __INTN_MIN(__SIG_ATOMIC_WIDTH__) +#define SIG_ATOMIC_MAX __INTN_MAX(__SIG_ATOMIC_WIDTH__) #define WINT_MIN __INTN_MIN(__WINT_WIDTH__) #define WINT_MAX __INTN_MAX(__WINT_WIDTH__)