summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'source/test')
-rw-r--r--source/test/programs/signals.cpp4
1 files changed, 2 insertions, 2 deletions
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