diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-17 22:33:33 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-17 22:33:33 (GMT) |
commit | a71b77433ccf313086f326e72bb7055d94dec3d2 (patch) | |
tree | c98c5f661f66146f5f746d0e00b8b7d6594185d3 | |
parent | 8909646693c312be5d3f4a0d4fef4623833bcaf8 (diff) | |
download | hdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.zip hdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.tar.gz hdf5-a71b77433ccf313086f326e72bb7055d94dec3d2.tar.bz2 |
Fixed an issue in the passthru Windows va_copy hack.
-rw-r--r-- | src/H5VLpassthru.c | 4 |
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 */ |