summaryrefslogtreecommitdiff
path: root/lib/xstrtoumax.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-15 07:26:36 +0000
committerJim Meyering <jim@meyering.net>2003-10-15 07:26:36 +0000
commitc8043fb65526afc32b67b92fca8f581fc9696233 (patch)
tree593cc4c76a6489f3a9c52e9b453a451a13bc0332 /lib/xstrtoumax.c
parent7edceab01c96c3847b7f22f70357ab8418c2e8dc (diff)
downloadcoreutils-c8043fb65526afc32b67b92fca8f581fc9696233.tar.xz
Sync with gnulib.
Diffstat (limited to 'lib/xstrtoumax.c')
-rw-r--r--lib/xstrtoumax.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c
index 59d6ecf5c..a8858bf6d 100644
--- a/lib/xstrtoumax.c
+++ b/lib/xstrtoumax.c
@@ -30,4 +30,8 @@
#define __strtol strtoumax
#define __strtol_t uintmax_t
#define __xstrtol xstrtoumax
+#ifdef UINTMAX_MAX
+# define STRTOL_T_MINIMUM 0
+# define STRTOL_T_MAXIMUM UINTMAX_MAX
+#endif
#include "xstrtol.c"