diff options
author | Lars Kanis <kanis@comcard.de> | 2015-08-05 18:08:59 +0200 |
---|---|---|
committer | Lars Kanis <kanis@comcard.de> | 2015-08-05 18:08:59 +0200 |
commit | c1f91d47806af07ed2c109eda67663c35165ffb4 (patch) | |
tree | f552371809706b7b7c1a984883719b9f5c4646b0 | |
parent | d788dfa418eac8048a7a1a8a7386d253c7950d7d (diff) | |
download | ffi-c1f91d47806af07ed2c109eda67663c35165ffb4.tar.gz |
Sleep() on Windows counts milli seconds.
-rw-r--r-- | libtest/FunctionTest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtest/FunctionTest.c b/libtest/FunctionTest.c index eafad89..8cde5f1 100644 --- a/libtest/FunctionTest.c +++ b/libtest/FunctionTest.c @@ -6,7 +6,7 @@ #ifdef _WIN32 #include <windows.h> -#define sleep(x) Sleep(x) +#define sleep(x) Sleep((x)*1000) #endif #ifndef _WIN32 |