summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-10 10:41:24 +0000
committerJim Meyering <jim@meyering.net>2003-03-10 10:41:24 +0000
commitb44a6e85658f77ec1ec3a8947b4eb497892e9db2 (patch)
treecffebd70d474139997589273c65b0be060e82e55 /src
parentcbc5ba67a5b012b1ed6161338b96655e0e0d03af (diff)
downloadcoreutils-b44a6e85658f77ec1ec3a8947b4eb497892e9db2.tar.xz
(INT_MIN): Define, if necessary.
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 808552a04..1030bc3cd 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -559,6 +559,10 @@ enum
# define INT_MAX TYPE_MAXIMUM (int)
#endif
+#ifndef INT_MIN
+# define INT_MIN TYPE_MINIMUM (int)
+#endif
+
#ifndef UINT_MAX
# define UINT_MAX TYPE_MAXIMUM (unsigned int)
#endif