diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2009-08-18 20:14:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2009-08-18 20:14:41 (GMT) |
commit | 05f36e2be84ec23e62df9e3d4ec569db3c1def3d (patch) | |
tree | 16c2b4298b296d12de44e147afa36b59c44761af /src/H5win32defs.h | |
parent | ebde7af78ab5cfacc8a55105f1de0e53ccffa5a4 (diff) | |
download | hdf5-05f36e2be84ec23e62df9e3d4ec569db3c1def3d.zip hdf5-05f36e2be84ec23e62df9e3d4ec569db3c1def3d.tar.gz hdf5-05f36e2be84ec23e62df9e3d4ec569db3c1def3d.tar.bz2 |
[svn-r17375] Added Windows version of HDsleep macro needed for a test in test/tfile.c.
Tested: windows
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r-- | src/H5win32defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 89b41a0..2a170ea 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -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) |