diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-30 19:23:45 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:54 (GMT) |
commit | c3974173a14380069c336dc7e65184685f41f32b (patch) | |
tree | 23c2c5de8cef7f45a9e16dc3512e282ebe481531 /src | |
parent | dea87efdf93be5d79826320103eaa21a64c4a4b5 (diff) | |
download | hdf5-c3974173a14380069c336dc7e65184685f41f32b.zip hdf5-c3974173a14380069c336dc7e65184685f41f32b.tar.gz hdf5-c3974173a14380069c336dc7e65184685f41f32b.tar.bz2 |
VS2010 needs an underscore
Diffstat (limited to 'src')
-rw-r--r-- | src/H5win32defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 29533dd..0a0bd37 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -40,6 +40,12 @@ typedef __int64 h5_stat_size_t; #define HDfileno(F) _fileno(F) #define HDfstat(F,B) _fstati64(F,B) #define HDisatty(F) _isatty(F) + +/* The isnan function needs underscore in VS2012 and earlier */ +#if (_MSC_VER <= 1700) + #define HDisnan(X) _isnan(X) +#endif /* MSC_VER < 1700 */ + #define HDgetcwd(S,Z) _getcwd(S,Z) #define HDgetdcwd(D,S,Z) _getdcwd(D,S,Z) #define HDgetdrive() _getdrive() |