support linking against MSVC libc

This commit is contained in:
Andrew Kelley
2017-10-01 21:05:08 -04:00
parent 1563574740
commit 4d865e355b
4 changed files with 71 additions and 45 deletions

View File

@@ -16,6 +16,7 @@ void zig_panic(const char *format, ...) {
va_start(ap, format);
vfprintf(stderr, format, ap);
fprintf(stderr, "\n");
fflush(stderr);
va_end(ap);
abort();
}