]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Define HAVE_WCSLEN on Windows and VMS.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Aug 2003 16:14:27 +0000 (16:14 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:52 +0000 (12:10 +0200)
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/Makefile.am

index e44a1e521360dfd10a9b0c7f56f38deed42a1e4e..de9a64dac8016a9792f8751b28e84bef6b1f0e9b 100644 (file)
@@ -3,6 +3,8 @@
        * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
        (VASNPRINTF): Use it instead of wcslen.
        * configure.ac: Also check for wcslen.
+       * Makefile.am (config.h_vms): Set HAVE_WCSLEN.
+       (config.h.msvc): Likewise.
 
 2003-06-20  Bruno Haible  <bruno@clisp.org>
 
index 16817693de910a3ff627588cf27825d45e01015b..891904756a4894dba608be387e98155a5ac1b3fe 100644 (file)
@@ -198,6 +198,7 @@ config.h_vms: config.h.in
             -e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \
             -e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \
             -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 STDC_HEADERS$$/#define STDC_HEADERS 1/' \
           < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@
@@ -215,6 +216,7 @@ config.h.msvc: config.h.in
             -e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
             -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
             -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/' \
           < $(srcdir)/config.h.in; echo; echo '#define snprintf _snprintf') > $@