mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r17371] Added Windows version of HDsleep macro needed for a test in test/tfile.c.
Tested: windows
This commit is contained in:
parent
0ac57cc17b
commit
167af56bfd
@ -60,6 +60,7 @@ typedef __int64 h5_stat_size_t;
|
||||
#define HDopen(S,F,M) _open(S,F|_O_BINARY,M)
|
||||
#define HDread(F,M,Z) _read(F,M,Z)
|
||||
#define HDsetvbuf(F,S,M,Z) setvbuf(F,S,M,(Z>1?Z:2))
|
||||
#define HDsleep(S) Sleep(S*1000)
|
||||
#define HDstrcasecmp(A,B) _stricmp(A,B)
|
||||
#define HDstrtoull(S,R,N) _strtoui64(S,R,N)
|
||||
#define HDstrdup(S) _strdup(S)
|
||||
|
Loading…
Reference in New Issue
Block a user