From 06a85c253005a0b95976dbecae8286a5f6603ba3 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Thu, 18 Aug 2022 16:41:40 +0400 Subject: Refactor --- source/test/unittests/test_duration.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/test') 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); -- cgit v1.2.3