Fixed an issue in the passthru Windows va_copy hack.

This commit is contained in:
Dana Robinson 2018-12-17 14:33:33 -08:00
parent 8909646693
commit a71b77433c

View File

@ -42,9 +42,9 @@
/* #define ENABLE_PASSTHRU_LOGGING */
/* Windows missing va_copy() hack (from H5win2_defs.h) */
#if (_MSC_VER < 1800)
#if defined(_WIN32) && (_MSC_VER < 1800)
#define va_copy(D,S) ((D) = (S))
#endif /* MSC_VER < 1800 */
#endif /* defined(_WIN32) && (_MSC_VER < 1800) */
/************/
/* Typedefs */