summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-17 18:29:58 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-17 18:29:58 (GMT)
commit1b9326d37f5a932eb1646d970c08bf14cd188679 (patch)
tree66fc2ed071a09264ba9643d1ba34905331b54a91 /src/H5win32defs.h
parent339aebc69a3e3493922b58f292a5bf6d3f3f983d (diff)
downloadhdf5-1b9326d37f5a932eb1646d970c08bf14cd188679.zip
hdf5-1b9326d37f5a932eb1646d970c08bf14cd188679.tar.gz
hdf5-1b9326d37f5a932eb1646d970c08bf14cd188679.tar.bz2
Added a work-around for va_copy() on pre-2013 versions of Visual Studio.
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r--src/H5win32defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index c5e41d4..ad8f4e8 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -66,6 +66,9 @@ typedef __int64 h5_stat_size_t;
#define HDtzset() _tzset()
#define HDunlink(S) _unlink(S)
#define HDwrite(F,M,Z) _write(F,M,Z)
+#if (_MSC_VER < 1800)
+#define HDva_copy(D,S) ((D) = (S))
+#endif /* MSC_VER < 1800 */
#ifdef H5_HAVE_VISUAL_STUDIO