aboutsummaryrefslogtreecommitdiff
path: root/src/shared/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/helpers.h')
-rw-r--r--src/shared/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/helpers.h b/src/shared/helpers.h
index 44d76552..eaf685c6 100644
--- a/src/shared/helpers.h
+++ b/src/shared/helpers.h
@@ -27,10 +27,12 @@
#endif
#if __GNUC__ > 2 || defined(__INTEL_COMPILER)
# define _dead __attribute__((__noreturn__))
+# define _noreturn __attribute__ ((__noreturn__))
# define _unused __attribute__((__unused__))
# define _xasprintf(a, b) __attribute__((__format__(__printf__, a, b)))
#else
# define _dead
+# define _noreturn
# define _unused
# define _xasprintf(a, b)
#endif