summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 75f0d71965..898d2e251d 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -36,6 +36,9 @@ extern "C" {
#ifndef NOINLINE
# define NOINLINE(x) x
#endif
+#ifndef UNREACHABLE
+# define UNREACHABLE /* unreachable */
+#endif
#ifdef __GNUC__
#define PRINTF_ARGS(decl, string_index, first_to_check) \