diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-08 03:04:10 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-08 03:04:10 +0400 |
commit | f8831550861f6c2e5e93d68d098d9945b19cf14c (patch) | |
tree | e7290b83f21583248891e4bebced5e13996febdc | |
parent | 3a6a7bcf36feb6a3ccb691b13f89ed89b9956311 (diff) | |
download | kit-f8831550861f6c2e5e93d68d098d9945b19cf14c.zip |
test
-rw-r--r-- | .github/workflows/build_and_test.yml | 2 | ||||
-rw-r--r-- | source/test/unittests/test_duration.test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2cf8062..50aad28 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -16,7 +16,7 @@ jobs: build: strategy: matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] + os: [ ubuntu-latest, macos-latest, windows-2019 ] runs-on: ${{ matrix.os }} diff --git a/source/test/unittests/test_duration.test.c b/source/test/unittests/test_duration.test.c index ac1c7b6..58faf4a 100644 --- a/source/test/unittests/test_duration.test.c +++ b/source/test/unittests/test_duration.test.c @@ -2,7 +2,7 @@ #include "../../kit_test/test.h" #ifdef _WIN32 -# include <windows.h> +__declspec(dllimport) void __stdcall Sleep(unsigned long timeout); static void kit_sleep(int ms) { Sleep(ms); } |