From 20e428ec40ee1c83708b3ade6a0007ab2a435f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Tue, 10 Sep 2019 12:22:26 +0900 Subject: fix CentOS 6 compile error See also https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos6/ruby-master/log/20190910T003005Z.fail.html.gz --- include/ruby/defines.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ruby/defines.h') 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 -- cgit v1.2.3