[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/lib/stdint_.h
From: |
Mark D . Baushke |
Subject: |
[Cvs-cvs] Changes to ccvs/lib/stdint_.h |
Date: |
Wed, 07 Dec 2005 05:49:29 -0500 |
Index: ccvs/lib/stdint_.h
diff -u ccvs/lib/stdint_.h:1.3 ccvs/lib/stdint_.h:1.4
--- ccvs/lib/stdint_.h:1.3 Mon May 23 17:44:32 2005
+++ ccvs/lib/stdint_.h Wed Dec 7 10:49:28 2005
@@ -133,11 +133,19 @@
/* 7.18.1.5. Greatest-width integer types */
#ifdef _STDINT_H_HAVE_INT64
+# ifndef intmax_t
typedef int64_t intmax_t;
+# endif
+# ifndef uintmax_t
typedef uint64_t uintmax_t;
+# endif
#else
+# ifndef intmax_t
typedef int32_t intmax_t;
+# endif
+# ifndef uintmax_t
typedef uint32_t uintmax_t;
+# endif
#endif
/* 7.18.2. Limits of specified-width integer types */
@@ -230,7 +238,9 @@
#define SIG_ATOMIC_MIN 0
#define SIG_ATOMIC_MAX 127
-#define SIZE_MAX (~(size_t)0)
+#ifndef SIZE_MAX
+# define SIZE_MAX ((size_t) -1)
+#endif
/* wchar_t limits already defined in <stddef.h>. */
/* wint_t limits already defined in <wchar.h>. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] Changes to ccvs/lib/stdint_.h,
Mark D . Baushke <=