From: Bruno Haible Date: Thu, 11 Mar 2004 11:18:06 +0000 (+0000) Subject: Fix the SIZE_MAX value for Windows. X-Git-Tag: v0.14.2~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b5070be7e92ad29ca2fbefae9fb9abc9e1d980;p=thirdparty%2Fgettext.git Fix the SIZE_MAX value for Windows. --- diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index dcf656351..3cd921fd6 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Bruno Haible + + * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX. + 2004-01-29 Bruno Haible * gettext-0.14.1 released. diff --git a/gettext-runtime/Makefile.am b/gettext-runtime/Makefile.am index 473dd1ffb..f2be20934 100644 --- a/gettext-runtime/Makefile.am +++ b/gettext-runtime/Makefile.am @@ -156,7 +156,7 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \ -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 1/' \ - -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \ + -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 4294967295U/' \ -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ -e 's/#undef inline$$/#define inline __inline/' \ diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index 65d5970d5..95761bb7a 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Bruno Haible + + * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX. + 2004-02-02 Bruno Haible * Makefile.am (RM): New variable. diff --git a/gettext-runtime/libasprintf/Makefile.am b/gettext-runtime/libasprintf/Makefile.am index bdd4bb89e..386c4148e 100644 --- a/gettext-runtime/libasprintf/Makefile.am +++ b/gettext-runtime/libasprintf/Makefile.am @@ -219,7 +219,7 @@ config.h.msvc: config.h.in -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \ -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \ -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ - -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \ + -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 4294967295U/' \ -e 's/#undef inline$$/#define inline __inline/' \ < $(srcdir)/config.h.in > $@ diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 63317205f..c6c6752f8 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Bruno Haible + + * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX. + 2004-02-07 Bruno Haible * configure.ac: Invoke gl_QUOTEARG. diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am index c2ffd1b97..b65a02f21 100644 --- a/gettext-tools/Makefile.am +++ b/gettext-tools/Makefile.am @@ -200,7 +200,7 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \ -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 1/' \ -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \ - -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \ + -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 4294967295U/' \ -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ -e 's/#undef fnmatch$$/#define fnmatch rpl_fnmatch/' \