summaryrefslogtreecommitdiff
path: root/lib/xstrtoimax.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrtoimax.c')
-rw-r--r--lib/xstrtoimax.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xstrtoimax.c b/lib/xstrtoimax.c
new file mode 100644
index 0000000..b4baf5b
--- /dev/null
+++ b/lib/xstrtoimax.c
@@ -0,0 +1,6 @@
+#define __strtol strtoimax
+#define __strtol_t intmax_t
+#define __xstrtol xstrtoimax
+#define STRTOL_T_MINIMUM INTMAX_MIN
+#define STRTOL_T_MAXIMUM INTMAX_MAX
+#include "xstrtol.c"