aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.cc')
-rw-r--r--kernel/log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index 3f1d88819..abc401f55 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -207,6 +207,8 @@ void logv_error(const char *format, va_list ap)
#ifdef EMSCRIPTEN
log_files = backup_log_files;
throw 0;
+#elif defined(_MSC_VER)
+ _exit(1);
#else
_Exit(1);
#endif