From b22415f6ea2f17bc8dca482b14a7fac2ffdfd22b Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Wed, 20 Nov 2002 13:10:00 +0000 Subject: [PATCH] MSVC do not have usleep --- goldlib/gall/gtimall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goldlib/gall/gtimall.h b/goldlib/gall/gtimall.h index 057d178..9e5d616 100644 --- a/goldlib/gall/gtimall.h +++ b/goldlib/gall/gtimall.h @@ -139,7 +139,7 @@ inline struct tm* glocaltime(time_t* arg) { #if defined(__OS2__) inline void usleep(long duration) { DosSleep(duration); } -#elif defined(__MINGW32__) +#elif defined(__MINGW32__) || defined(_MSC_VER) inline void usleep(long duration) { Sleep(duration); } #endif