summaryrefslogtreecommitdiffhomepage
path: root/compat/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/assert.hpp')
-rw-r--r--compat/assert.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp
index 9c55c5b3..81d5d4ab 100644
--- a/compat/assert.hpp
+++ b/compat/assert.hpp
@@ -12,6 +12,7 @@ constexpr inline void abort(const char (&fmt)[N], Xs... xs)
if (std::is_constant_evaluated())
throw "aborting";
else {
+ std::fputs("fatal: ", stderr);
std::fprintf(stderr, fmt, xs...);
std::putc('\n', stderr);
std::fflush(stderr);