summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-17 22:33:33 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-17 22:33:33 (GMT)
commita71b77433ccf313086f326e72bb7055d94dec3d2 (patch)
treec98c5f661f66146f5f746d0e00b8b7d6594185d3 /src
parent8909646693c312be5d3f4a0d4fef4623833bcaf8 (diff)
downloadhdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.zip
hdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.tar.gz
hdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.tar.bz2
Fixed an issue in the passthru Windows va_copy hack.
Diffstat (limited to 'src')
-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 */