aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-01 21:05:08 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-01 21:05:08 -0400
commit4d865e355b9fc6b9f679f57e12865b05f6ee6759 (patch)
treee9b7d6d716d5b9eafa36ad6111024809a59f11cb /src/util.cpp
parent15635747406162b9c92b84a72314068e374196fe (diff)
downloadzig-4d865e355b9fc6b9f679f57e12865b05f6ee6759.tar.gz
zig-4d865e355b9fc6b9f679f57e12865b05f6ee6759.zip
support linking against MSVC libc
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 402c66aa3b..cafd2c3d85 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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();
}