mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
Added a helpful comment to the va_copy() Windows hack.
This commit is contained in:
parent
1b9326d37f
commit
6306766fb4
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user