summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-17 21:08:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-17 21:08:43 (GMT)
commit0a9180c0746618d08396d57f3fa5c94aa45e5b65 (patch)
treeb62cc7783440a9408c3eb1db7d0a0e3e4aade576 /src
parentac8a1f02ab5cb260f23acbe865090033a0183303 (diff)
downloadhdf5-0a9180c0746618d08396d57f3fa5c94aa45e5b65.zip
hdf5-0a9180c0746618d08396d57f3fa5c94aa45e5b65.tar.gz
hdf5-0a9180c0746618d08396d57f3fa5c94aa45e5b65.tar.bz2
HDFFV-10845 update mingw cmake changes
Diffstat (limited to 'src')
-rw-r--r--src/H5win32defs.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index d439379..29533dd 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -69,13 +69,6 @@ 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)
-/* 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 */
#ifdef H5_HAVE_VISUAL_STUDIO
@@ -86,6 +79,11 @@ typedef __int64 h5_stat_size_t;
#ifndef H5_HAVE_STRTOULL
#define HDstrtoull(S,R,N) _strtoui64(S,R,N)
#endif /* H5_HAVE_STRTOULL */
+ /* 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 */
/*