summaryrefslogtreecommitdiff
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r--include/ruby/defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index 5d890df854..72ec11d89f 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -38,6 +38,9 @@ extern "C" {
#ifndef DEPRECATED_TYPE
# define DEPRECATED_TYPE(mesg, decl) decl
#endif
+#ifndef RUBY_CXX_DEPRECATED
+# define RUBY_CXX_DEPRECATED(mesg) /* nothing */
+#endif
#ifndef NOINLINE
# define NOINLINE(x) x
#endif