summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/time.h5
-rw-r--r--source/kit_test/shared.inl.h5
-rw-r--r--source/tests/test_signals.cpp11
3 files changed, 6 insertions, 15 deletions
diff --git a/source/kit/time.h b/source/kit/time.h
index e5053dc..cf0f070 100644
--- a/source/kit/time.h
+++ b/source/kit/time.h
@@ -12,11 +12,6 @@
#endif
#ifdef __MINGW32__
-// struct timespec {
-// time_t tv_sec;
-// long tv_nsec;
-// };
-
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif
diff --git a/source/kit_test/shared.inl.h b/source/kit_test/shared.inl.h
index 4d894f4..34ccb07 100644
--- a/source/kit_test/shared.inl.h
+++ b/source/kit_test/shared.inl.h
@@ -17,11 +17,6 @@
# endif
# ifdef __MINGW32__
-// struct timespec {
-// time_t tv_sec;
-// long tv_nsec;
-// };
-
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif
diff --git a/source/tests/test_signals.cpp b/source/tests/test_signals.cpp
index 0f6d77a..1b4acc7 100644
--- a/source/tests/test_signals.cpp
+++ b/source/tests/test_signals.cpp
@@ -3,10 +3,6 @@
#include <cstdlib>
#include <stdexcept>
-/* FIXME
- * MSVC tests fail in GitHub Actions.
- */
-
TEST("c++ exception") {
throw std::exception();
}
@@ -20,7 +16,12 @@ TEST("invalid access") {
}
int main(int argc, char **argv) {
-#ifndef _MSC_VER
+ // FIXME
+ // On Windows, doesn't work for some reason...
+ // Both MSVC and MinGW.
+ //
+
+#ifndef _WIN32
if (run_tests(argc, argv) != 1)
return 1;
#endif