summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ruby.h b/ruby.h
index de2bf3297c..f00f39b935 100644
--- a/ruby.h
+++ b/ruby.h
@@ -63,9 +63,7 @@ extern "C" {
# define __(args) ()
#endif
-#ifdef HAVE_ATTR_NORETURN
-# define NORETURN(x) x __attribute__ ((noreturn))
-#elif !defined NORETURN
+#ifndef NORETURN
# define NORETURN(x) x
#endif