summaryrefslogtreecommitdiff
path: root/source/test/unittests
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 16:41:40 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 16:41:40 +0400
commit06a85c253005a0b95976dbecae8286a5f6603ba3 (patch)
tree2ee2913311d443faa2e5c43bec669b7f9c902835 /source/test/unittests
parent89686cc730c61227b9874fb4be37c52108ac2c08 (diff)
downloadkit-06a85c253005a0b95976dbecae8286a5f6603ba3.zip
Refactor
Diffstat (limited to 'source/test/unittests')
-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);