summaryrefslogtreecommitdiff
path: root/rts/include/Stg.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include/Stg.h')
-rw-r--r--rts/include/Stg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/include/Stg.h b/rts/include/Stg.h
index 31a7a55e9c..26010db7b6 100644
--- a/rts/include/Stg.h
+++ b/rts/include/Stg.h
@@ -241,6 +241,8 @@
#define STG_PRINTF_ATTR(fmt_arg, rest) GNUC3_ATTRIBUTE(format(printf, fmt_arg, rest))
#endif
+#define STG_NORETURN GNU_ATTRIBUTE(__noreturn__)
+
/* -----------------------------------------------------------------------------
Global type definitions
-------------------------------------------------------------------------- */