summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f26dac5ce1..039b40ee8c 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -35,6 +35,9 @@ extern "C" {
#ifndef DEPRECATED
# define DEPRECATED(x) x
#endif
+#ifndef DEPRECATED_BY
+# define DEPRECATED_BY(n,x) DEPRECATED(x)
+#endif
#ifndef NOINLINE
# define NOINLINE(x) x
#endif