aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/ruby.h b/ruby.h
index 71f769eb1b..ddda5c396b 100644
--- a/ruby.h
+++ b/ruby.h
@@ -20,6 +20,13 @@ extern "C" {
#include "config.h"
+#define NORETURN_STYLE_NEW 1
+#ifndef NORETURN
+# define NORETURN(x) x
+#endif
+#ifndef DEPRECATED
+# define DEPRECATED(x) x
+#endif
#ifndef NOINLINE
# define NOINLINE(x) x
#endif
@@ -57,14 +64,6 @@ extern "C" {
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c)))
#endif
-#define NORETURN_STYLE_NEW 1
-#ifndef NORETURN
-# define NORETURN(x) x
-#endif
-#ifndef DEPRECATED
-# define DEPRECATED(x) x
-#endif
-
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
#endif