mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/etc] Remove unnecessary declaration
Fix https://github.com/ruby/etc/pull/12 https://github.com/ruby/etc/commit/7cbf03d22d
This commit is contained in:
parent
8d6dbecc80
commit
ae25313e80
1 changed files with 1 additions and 4 deletions
|
@ -47,10 +47,7 @@ if !File.exist?("#{srcdir}/depend")
|
|||
%x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
|
||||
end
|
||||
|
||||
decl = [
|
||||
"void rb_deprecate_constant(VALUE, const char *);",
|
||||
]
|
||||
have_func('rb_deprecate_constant(Qnil, "None")', [decl])
|
||||
have_func('rb_deprecate_constant(Qnil, "None")')
|
||||
|
||||
$distcleanfiles << "constdefs.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue