From: Bruno Haible Date: Fri, 29 Aug 2003 20:25:35 +0000 (+0000) Subject: Fix last patch for NetBSD. X-Git-Tag: v0.13~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b33f6f57ec956b05172a251e7a4c1da510b5542;p=thirdparty%2Fgettext.git Fix last patch for NetBSD. --- diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 7fd6b8e74..6ee75090a 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,6 +1,7 @@ -2003-08-24 Bruno Haible +2003-08-29 Bruno Haible - * Makefile.am (config.h.msvc): Define HAVE__SNPRINTF, HAVE__SNWPRINTF. + * Makefile.am (config.h.msvc): Define HAVE_DECL__SNPRINTF, + HAVE_DECL__SNWPRINTF. 2003-08-24 Bruno Haible diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am index e473041cc..433c74bac 100644 --- a/gettext-tools/Makefile.am +++ b/gettext-tools/Makefile.am @@ -161,6 +161,8 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_DECL_GETENV$$/#define HAVE_DECL_GETENV 1/' \ -e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \ -e 's/#undef HAVE_DECL_WCWIDTH$$/#define HAVE_DECL_WCWIDTH 0/' \ + -e 's/#undef HAVE_DECL__SNPRINTF$$/#define HAVE_DECL__SNPRINTF 1/' \ + -e 's/#undef HAVE_DECL__SNWPRINTF$$/#define HAVE_DECL__SNWPRINTF 1/' \ -e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \ -e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \ -e 's/#undef HAVE_FCNTL_H$$/#define HAVE_FCNTL_H 1/' \ @@ -198,8 +200,6 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \ -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ - -e 's/#undef HAVE__SNPRINTF$$/#define HAVE__SNPRINTF 1/' \ - -e 's/#undef HAVE__SNWPRINTF$$/#define HAVE__SNWPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \ -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \ -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \