nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
+2011-05-09 Eli Zaretskii <eliz@gnu.org>
+
+ * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
+
2011-05-07 Ben Key <bkey76@gmail.com>
* configure.bat: Renamed the fusercflags variable to escusercflags
# define restrict
#endif
+/* A va_copy replacement for MSVC. */
+#ifdef _MSC_VER
+# ifdef _WIN64
+# ifndef va_copy
+# error "va_copy is needed, but not defined!"
+# endif
+# else /* not _WIN64 */
+# define va_copy(d,s) ((d) = (s))
+# endif /* not _WIN64 */
+#endif /* _MSC_VER */
+
/* Define as a marker that can be attached to declarations that might not
be used. This helps to reduce warnings, such as from
GCC -Wunused-parameter. */