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