From 167af56bfd13593af8ac74070f5a48235debdebe Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 17 Aug 2009 15:11:49 -0500 Subject: [PATCH] [svn-r17371] Added Windows version of HDsleep macro needed for a test in test/tfile.c. Tested: windows --- src/H5win32defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 89b41a0b48..2a170eaf19 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)