Fix delay_s for Windows.
This commit is contained in:
parent
f44d9d5281
commit
31e8dabd09
|
@ -75,7 +75,7 @@ char *expand_tilde(const char *path);
|
||||||
#ifdef __Windows__
|
#ifdef __Windows__
|
||||||
static inline void delay_s(unsigned int s)
|
static inline void delay_s(unsigned int s)
|
||||||
{
|
{
|
||||||
Sleep(s);
|
Sleep(s * 1000);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline void delay_s(unsigned int s)
|
static inline void delay_s(unsigned int s)
|
||||||
|
|
Loading…
Reference in New Issue