summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Kanis <kanis@comcard.de>2015-08-05 18:08:59 +0200
committerLars Kanis <kanis@comcard.de>2015-08-05 18:08:59 +0200
commitc1f91d47806af07ed2c109eda67663c35165ffb4 (patch)
treef552371809706b7b7c1a984883719b9f5c4646b0
parentd788dfa418eac8048a7a1a8a7386d253c7950d7d (diff)
downloadffi-c1f91d47806af07ed2c109eda67663c35165ffb4.tar.gz
Sleep() on Windows counts milli seconds.
-rw-r--r--libtest/FunctionTest.c2
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