]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix last change.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Aug 2003 19:50:42 +0000 (19:50 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:55 +0000 (12:10 +0200)
gettext-tools/lib/error.c

index b201dd26739ca846a0c638aa0689f3a7e5867293..2c8845769fd0641e7921b4d27ef29a0033b48b7a 100644 (file)
@@ -251,7 +251,7 @@ error_tail (int status, int errnum, const char *message, va_list args)
    Exit with status STATUS if it is nonzero.  */
 /* VARARGS */
 void
-#if defined VA_START && __STDC__
+#if defined VA_START && (__STDC__ || defined _MSC_VER)
 error (int status, int errnum, const char *message, ...)
 #else
 error (status, errnum, message, va_alist)
@@ -314,7 +314,7 @@ error (status, errnum, message, va_alist)
 int error_one_per_line;
 
 void
-#if defined VA_START && __STDC__
+#if defined VA_START && (__STDC__ || defined _MSC_VER)
 error_at_line (int status, int errnum, const char *file_name,
               unsigned int line_number, const char *message, ...)
 #else