summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/libasprintf
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-03-11 11:18:06 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:49 +0200
commit24b5070be7e92ad29ca2fbefae9fb9abc9e1d980 (patch)
treeb9ed6ccc38f10bca24bdee78993769ff9bd1775a /gettext-runtime/libasprintf
parent0ac849a552ad05962ec8dcd0a53a0d91228d5c32 (diff)
downloadexternal_gettext-24b5070be7e92ad29ca2fbefae9fb9abc9e1d980.zip
external_gettext-24b5070be7e92ad29ca2fbefae9fb9abc9e1d980.tar.gz
external_gettext-24b5070be7e92ad29ca2fbefae9fb9abc9e1d980.tar.bz2
Fix the SIZE_MAX value for Windows.
Diffstat (limited to 'gettext-runtime/libasprintf')
-rw-r--r--gettext-runtime/libasprintf/ChangeLog4
-rw-r--r--gettext-runtime/libasprintf/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog
index 65d5970..95761bb 100644
--- a/gettext-runtime/libasprintf/ChangeLog
+++ b/gettext-runtime/libasprintf/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-11 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h.msvc): Fix the value of SIZE_MAX.
+
2004-02-02 Bruno Haible <bruno@clisp.org>
* Makefile.am (RM): New variable.
diff --git a/gettext-runtime/libasprintf/Makefile.am b/gettext-runtime/libasprintf/Makefile.am
index bdd4bb8..386c414 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 > $@