From: Bruno Haible Date: Sun, 24 Aug 2003 17:20:48 +0000 (+0000) Subject: Use on Windows. X-Git-Tag: v0.13~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1176147aee322936c5e9f0eeb89e333fceb0fac;p=thirdparty%2Fgettext.git Use on Windows. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index 6059ae699..e82a1ded7 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2003-08-24 Bruno Haible + + * libgnuintl.h.in: Use when compiling with MSVC, even though + it doesn't define __STDC__ by default. + 2003-08-24 Bruno Haible * relocatable.h: Make this file includable in C++ mode: add extern "C". diff --git a/gettext-runtime/intl/libgnuintl.h.in b/gettext-runtime/intl/libgnuintl.h.in index ce06b18be..fdb09f149 100644 --- a/gettext-runtime/intl/libgnuintl.h.in +++ b/gettext-runtime/intl/libgnuintl.h.in @@ -303,7 +303,7 @@ extern char *bind_textdomain_codeset _INTL_PARAMS ((const char *__domainname, #include /* Get va_list. */ -#if __STDC__ || defined __cplusplus +#if __STDC__ || defined __cplusplus || defined _MSC_VER # include #else # include diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 1b095f50f..1ccea1786 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,21 @@ +2003-08-24 Bruno Haible + + * error.c: Use when compiling with MSVC, even though it + doesn't define __STDC__ by default. + +2003-08-24 Bruno Haible + + Support for building DLLs on Windows. + * argmatch.h (argmatch_die): Add DLL_VARIABLE attribute. + * backupfile.h (simple_backup_suffix): Likewise. + * error.h (error_print_progname, error_message_count, + error_one_per_line): Likewise. + * error-progname.h (error_with_progname): Likewise. + * getopt.h (optarg, optind, opterr, optopt): Likewise. + * obstack.h (obstack_alloc_failed_handler, obstack_exit_failure): + Likewise. + * progname.h (program_name): Likewise. + 2003-08-24 Bruno Haible * basename.h: Make this file includable in C++ mode: add extern "C". diff --git a/gettext-tools/lib/error.c b/gettext-tools/lib/error.c index d6b6bdd0e..b201dd267 100644 --- a/gettext-tools/lib/error.c +++ b/gettext-tools/lib/error.c @@ -36,7 +36,7 @@ #endif #if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC -# if __STDC__ +# if __STDC__ || defined _MSC_VER # include # define VA_START(args, lastarg) va_start(args, lastarg) # else