mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
Merge pull request #1389 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:strtok_windows_fix to develop
* commit 'a7618f432b671ad041ae63a83bf9b9bb08096dbe': Updated with extra sanity check and improved comment. Fixed an issue in the passthru Windows va_copy hack.
This commit is contained in:
commit
d8656bdbb2
@ -41,10 +41,12 @@
|
|||||||
/* (Uncomment to enable) */
|
/* (Uncomment to enable) */
|
||||||
/* #define ENABLE_PASSTHRU_LOGGING */
|
/* #define ENABLE_PASSTHRU_LOGGING */
|
||||||
|
|
||||||
/* Windows missing va_copy() hack (from H5win2_defs.h) */
|
/* Hack for missing va_copy() in old Visual Studio editions
|
||||||
#if (_MSC_VER < 1800)
|
* (from H5win2_defs.h - used on VS2012 and earlier)
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1800)
|
||||||
#define va_copy(D,S) ((D) = (S))
|
#define va_copy(D,S) ((D) = (S))
|
||||||
#endif /* MSC_VER < 1800 */
|
#endif
|
||||||
|
|
||||||
/************/
|
/************/
|
||||||
/* Typedefs */
|
/* Typedefs */
|
||||||
|
Loading…
Reference in New Issue
Block a user