cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/windows-NT/stdint.h


From: Mark D . Baushke
Subject: [Cvs-cvs] Changes to ccvs/windows-NT/stdint.h
Date: Wed, 07 Dec 2005 05:51:46 -0500

Index: ccvs/windows-NT/stdint.h
diff -u ccvs/windows-NT/stdint.h:1.3 ccvs/windows-NT/stdint.h:1.4
--- ccvs/windows-NT/stdint.h:1.3        Mon May 23 17:47:16 2005
+++ ccvs/windows-NT/stdint.h    Wed Dec  7 10:51:45 2005
@@ -140,11 +140,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 */
@@ -237,7 +245,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>.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]