summaryrefslogtreecommitdiff
path: root/include/ruby/defines.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-09-10 12:22:26 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-09-10 12:25:36 +0900
commit20e428ec40ee1c83708b3ade6a0007ab2a435f83 (patch)
tree8b155d47ed40fafbc7dca4bd55739ab2e670193a /include/ruby/defines.h
parent8d3db4f26cbbc920c717dfa2784a467014b954a6 (diff)
fix CentOS 6 compile error
See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos6/ruby-master/log/20190910T003005Z.fail.html.gz
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