summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/kit_test/test.c2
-rw-r--r--source/test/programs/signals.cpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/source/kit_test/test.c b/source/kit_test/test.c
index 2daf94b..471194e 100644
--- a/source/kit_test/test.c
+++ b/source/kit_test/test.c
@@ -7,8 +7,6 @@
#include <setjmp.h>
#include <signal.h>
-#include <stdlib.h>
-
kit_tests_list_t kit_tests_list = { 0 };
static void report(int i, int line, int ok) {
diff --git a/source/test/programs/signals.cpp b/source/test/programs/signals.cpp
index 1e4698f..97cae83 100644
--- a/source/test/programs/signals.cpp
+++ b/source/test/programs/signals.cpp
@@ -6,7 +6,7 @@
/* FIXME
* MSVC tests fail in GitHub Actions.
*/
-#ifndef _MSVC
+#ifndef _MSC_VER
TEST("c++ exception") {
throw std::exception {};
}
@@ -21,7 +21,7 @@ TEST("invalid access") {
#endif
int main(int argc, char **argv) {
-#ifndef _MSVC
+#ifndef _MSC_VER
if (run_tests(argc, argv) != 1)
return 1;
#endif