summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5win32defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index ad8f4e8..140afc3 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -67,6 +67,10 @@ typedef __int64 h5_stat_size_t;
#define HDunlink(S) _unlink(S)
#define HDwrite(F,M,Z) _write(F,M,Z)
#if (_MSC_VER < 1800)
+/* va_copy() does not exist on pre-2013 Visual Studio. Since va_lists are
+ * just pointers into the stack in those CRTs, the usual work-around
+ * is to just define the operation as a pointer copy.
+ */
#define HDva_copy(D,S) ((D) = (S))
#endif /* MSC_VER < 1800 */