aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/strtoimax.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/strtoimax.c')
-rw-r--r--lib/sh/strtoimax.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sh/strtoimax.c b/lib/sh/strtoimax.c
index 30075ce..e20c4cc 100644
--- a/lib/sh/strtoimax.c
+++ b/lib/sh/strtoimax.c
@@ -1,5 +1,5 @@
/* Convert string representation of a number into an intmax_t value.
- Copyright 1999, 2001 Free Software Foundation, Inc.
+ Copyright 1999-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -48,6 +48,10 @@ extern long strtol __P((const char *, char **, int));
extern long long strtoll __P((const char *, char **, int));
#endif
+#ifdef strtoimax
+#undef strtoimax
+#endif
+
intmax_t
strtoimax (ptr, endptr, base)
const char *ptr;