summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build_and_test.yml2
-rw-r--r--source/test/unittests/test_duration.test.c2
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);
}