diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-15 17:06:24 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-15 17:06:24 +0200 |
commit | 0a19a162755da4ef297bcacd62cf5243c76324ed (patch) | |
tree | 3ffcd285dc62a5b350de98cbcaad107dc1e4bd7d /doc | |
parent | 8f9c414718161f157f9970b3c97b977d0343093e (diff) | |
download | gnulib-0a19a162755da4ef297bcacd62cf5243c76324ed.tar.gz |
xstrtoll: Fix compilation failure.
* lib/xstrtol.c (ULLONG_MAX, LLONG_MAX, LLONG_MIN): New macros, taken
from lib/strtol.c.
* doc/posix-headers/limits.texi: Mention missing numerical limits on
some platforms.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-headers/limits.texi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/posix-headers/limits.texi b/doc/posix-headers/limits.texi index bec8310ec0..c7bc7ba72d 100644 --- a/doc/posix-headers/limits.texi +++ b/doc/posix-headers/limits.texi @@ -7,13 +7,24 @@ Gnulib module: gethostname Portability problems fixed by Gnulib: @itemize -@item The @code{HOST_NAME_MAX} macro is not defined on some platforms: +@item +The @code{HOST_NAME_MAX} macro is not defined on some platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +The macros @code{LLONG_MIN}, @code{LLONG_MAX}, @code{ULLONG_MAX} are not +defined on some platforms: +AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1 with gcc. +@item +The macros @code{WORD_BIT}, @code{LONG_BIT} are not defined on some platforms: +glibc 2.11 without @code{-D_GNU_SOURCE}, Cygwin, mingw, MSVC 9. +@item +The macro @code{SSIZE_MAX} is not defined on some platforms: +MSVC 9. @end itemize For @code{PATH_MAX}, Gnulib provides a module @code{pathmax} with a header |