summaryrefslogtreecommitdiff
path: root/lib/xstrtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrtoul.c')
-rw-r--r--lib/xstrtoul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xstrtoul.c b/lib/xstrtoul.c
index 6140bbee2..285f7b96f 100644
--- a/lib/xstrtoul.c
+++ b/lib/xstrtoul.c
@@ -1,4 +1,6 @@
#define __strtol strtoul
#define __strtol_t unsigned long int
#define __xstrtol xstrtoul
+#define STRTOL_T_MINIMUM 0
+#define STRTOL_T_MAXIMUM ULONG_MAX
#include "xstrtol.c"