summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'source/test')
-rw-r--r--source/test/unittests/test_duration.test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/test/unittests/test_duration.test.c b/source/test/unittests/test_duration.test.c
index 58faf4a..5d9e578 100644
--- a/source/test/unittests/test_duration.test.c
+++ b/source/test/unittests/test_duration.test.c
@@ -1,7 +1,7 @@
#define KIT_TEST_FILE test_duration
#include "../../kit_test/test.h"
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
__declspec(dllimport) void __stdcall Sleep(unsigned long timeout);
static void kit_sleep(int ms) {
Sleep(ms);