summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-11-30 11:39:08 +0000
committerJim Meyering <jim@meyering.net>2000-11-30 11:39:08 +0000
commit835a8fa63475f4f54a588f39b3edac6ed040ab23 (patch)
tree9fcd76e617a03e4cf355187523d7bab6c0c4b688 /src
parent4ff7ab63abab80387ff4782a3fd976c154f9a85f (diff)
downloadcoreutils-835a8fa63475f4f54a588f39b3edac6ed040ab23.tar.xz
(SIZE_T_MAX): Define.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 74a9728ce..bcc70e043 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -519,6 +519,10 @@ enum
# define ULONG_MAX TYPE_MAXIMUM (unsigned long)
#endif
+#ifndef SIZE_T_MAX
+# define SIZE_T_MAX TYPE_MAXIMUM (size_t)
+#endif
+
#ifndef UID_T_MAX
# define UID_T_MAX TYPE_MAXIMUM (uid_t)
#endif