summaryrefslogtreecommitdiffstats
path: root/src/H5VLpassthru.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLpassthru.c')
-rw-r--r--src/H5VLpassthru.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5VLpassthru.c b/src/H5VLpassthru.c
index 82c18af..49102d7 100644
--- a/src/H5VLpassthru.c
+++ b/src/H5VLpassthru.c
@@ -41,10 +41,12 @@
/* (Uncomment to enable) */
/* #define ENABLE_PASSTHRU_LOGGING */
-/* Windows missing va_copy() hack (from H5win2_defs.h) */
-#if defined(_WIN32) && (_MSC_VER < 1800)
+/* Hack for missing va_copy() in old Visual Studio editions
+ * (from H5win2_defs.h - used on VS2012 and earlier)
+ */
+#if defined(_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1800)
#define va_copy(D,S) ((D) = (S))
-#endif /* defined(_WIN32) && (_MSC_VER < 1800) */
+#endif
/************/
/* Typedefs */