summaryrefslogtreecommitdiff
path: root/src/_forced/strtoumax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/_forced/strtoumax.h')
-rw-r--r--src/_forced/strtoumax.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/_forced/strtoumax.h b/src/_forced/strtoumax.h
new file mode 100644
index 00000000..d6f9883e
--- /dev/null
+++ b/src/_forced/strtoumax.h
@@ -0,0 +1,10 @@
+#if __STDC_VERSION__ >= 199901L
+#include <inttypes.h>
+#else
+#include "stdint/intmax_t.h"
+#include "stdint/uintmax_t.h"
+#include "stdint/intptr_t.h"
+#include "stdint/UINTMAX_MAX.h"
+#define strtoumax __strtoumax
+#include "inttypes/strtoumax.c"
+#endif