]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(UINTMAX_MAX): New macro, taken from C99.
authorJim Meyering <jim@meyering.net>
Tue, 19 Dec 2000 09:22:24 +0000 (09:22 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 19 Dec 2000 09:22:24 +0000 (09:22 +0000)
src/sys2.h

index b7afd5822a09288f5c98ba7a8a42bdb7ceabe28f..b39ef9907bf815ff15eca781fd8e06ade81a344e 100644 (file)
@@ -527,6 +527,10 @@ enum
 # define SIZE_MAX TYPE_MAXIMUM (size_t)
 #endif
 
+#ifndef UINTMAX_MAX
+# define UINTMAX_MAX TYPE_MAXIMUM (uintmax_t)
+#endif
+
 #ifndef OFF_T_MIN
 # define OFF_T_MIN TYPE_MINIMUM (off_t)
 #endif