[cfe-commits] r89598 - /cfe/trunk/lib/Headers/stdint.h
Ken Dyck
ken.dyck at onsemi.com
Sun Nov 22 07:47:13 PST 2009
Author: kjdyck
Date: Sun Nov 22 09:47:12 2009
New Revision: 89598
URL: http://llvm.org/viewvc/llvm-project?rev=89598&view=rev
Log:
Define SIG_ATOMIC_MIN and SIG_ATOMIC_MAX in terms of __SIG_ATOMIC_WIDTH__.
Modified:
cfe/trunk/lib/Headers/stdint.h
Modified: cfe/trunk/lib/Headers/stdint.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/stdint.h?rev=89598&r1=89597&r2=89598&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/stdint.h (original)
+++ cfe/trunk/lib/Headers/stdint.h Sun Nov 22 09:47:12 2009
@@ -621,8 +621,8 @@
#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__)
More information about the cfe-commits
mailing list