summaryrefslogtreecommitdiff
path: root/gnu/xstrtoumax.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/xstrtoumax.c')
-rw-r--r--gnu/xstrtoumax.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/xstrtoumax.c b/gnu/xstrtoumax.c
new file mode 100644
index 0000000..9a2349f
--- /dev/null
+++ b/gnu/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"