summaryrefslogtreecommitdiffstats
path: root/lib/xstrtoumax.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/xstrtoumax.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c
new file mode 100644
index 0000000..9a2349f
--- /dev/null
+++ b/lib/xstrtoumax.c
@@ -0,0 +1,6 @@
+#define __strtol strtoumax
+#define __strtol_t uintmax_t
+#define __xstrtol xstrtoumax
+#define STRTOL_T_MINIMUM 0
+#define STRTOL_T_MAXIMUM UINTMAX_MAX
+#include "xstrtol.c"