Commit 39497066 authored by Eli Zaretskii's avatar Eli Zaretskii

Define a replacement for va_copy for MSVC.

 nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
parent 57679c86
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
......
......@@ -337,6 +337,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
# 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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment