summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5VLpassthru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5VLpassthru.c b/src/H5VLpassthru.c
index bf81425..82c18af 100644
--- a/src/H5VLpassthru.c
+++ b/src/H5VLpassthru.c
@@ -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 */