summaryrefslogtreecommitdiffstats
path: root/src/H5VLpassthru.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLpassthru.c')
-rw-r--r--src/H5VLpassthru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLpassthru.c b/src/H5VLpassthru.c
index bf81425..9361273 100644
--- a/src/H5VLpassthru.c
+++ b/src/H5VLpassthru.c
@@ -42,7 +42,7 @@
/* #define ENABLE_PASSTHRU_LOGGING */
/* Windows missing va_copy() hack (from H5win2_defs.h) */
-#if (_MSC_VER < 1800)
+#if defined(_MSC_VER) && (_MSC_VER < 1800)
#define va_copy(D,S) ((D) = (S))
#endif /* MSC_VER < 1800 */