summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-12-17 23:36:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-12-17 23:36:45 (GMT)
commit59efe894505354106f4d0391f138301018fccd7c (patch)
tree9840b1cb4f6adfbf625fa7297014f2ad5e9c2531 /src
parentc6831c7a75a5d0c1ca82a03c96fc0f023d1bc52e (diff)
parentd8656bdbb22d231d69fd209e5503bca183a87b83 (diff)
downloadhdf5-59efe894505354106f4d0391f138301018fccd7c.zip
hdf5-59efe894505354106f4d0391f138301018fccd7c.tar.gz
hdf5-59efe894505354106f4d0391f138301018fccd7c.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'src')
-rw-r--r--src/H5VLpassthru.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5VLpassthru.c b/src/H5VLpassthru.c
index 9361273..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(_MSC_VER) && (_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 /* MSC_VER < 1800 */
+#endif
/************/
/* Typedefs */