summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-22 19:39:43 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-22 19:39:43 +0200
commitd08803755b598ae96076c5ecac8154aa8198c14e (patch)
treef4faa5fc4134fcd0586df25794008fbb4ed14e1a
parenta7026d8c72e604fe6f868cc8e7cd665ac8b8be44 (diff)
downloadkit-d08803755b598ae96076c5ecac8154aa8198c14e.zip
test
-rw-r--r--source/kit/kit_test.h2
-rw-r--r--source/tests/test_signals.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/kit_test.h b/source/kit/kit_test.h
index 8daa50e..0f07b32 100644
--- a/source/kit/kit_test.h
+++ b/source/kit/kit_test.h
@@ -304,7 +304,7 @@ int kit_run_benchmarks(int argc, char **argv);
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif
-# include <Windows.h>
+# include <windows.h>
# define KIT_TIMESPEC_IMPL_UNIX_EPOCH_IN_TICKS \
116444736000000000ull
diff --git a/source/tests/test_signals.cpp b/source/tests/test_signals.cpp
index cb8e61d..ab20c3e 100644
--- a/source/tests/test_signals.cpp
+++ b/source/tests/test_signals.cpp
@@ -9,7 +9,7 @@ TEST("c++ std::exception") {
}
// Can't handle multiple terminate signals on Windows
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__MINGW32__)
TEST("abort") {
abort();
}