projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include config.h.
[gnulib.git]
/
lib
/
xstrtol.h
diff --git
a/lib/xstrtol.h
b/lib/xstrtol.h
index
ff44d6b
..
fd0c97f
100644
(file)
--- a/
lib/xstrtol.h
+++ b/
lib/xstrtol.h
@@
-13,6
+13,7
@@
# define __ZLONG_MAX LONG_MAX
#endif
# define __ZLONG_MAX LONG_MAX
#endif
+#undef __P
#if defined (__STDC__) && __STDC__
#define __P(x) x
#else
#if defined (__STDC__) && __STDC__
#define __P(x) x
#else
@@
-48,6
+49,7
@@
strtol_error
break; \
\
case LONGINT_OVERFLOW: \
break; \
\
case LONGINT_OVERFLOW: \
+ /* FIXME: make this message dependent on STRING_TO_UNSIGNED */\
error ((exit_code), 0, "%s `%s' larger than maximum long int",\
(argument_type_string), (str)); \
break; \
error ((exit_code), 0, "%s `%s' larger than maximum long int",\
(argument_type_string), (str)); \
break; \