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
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]
|
%x[#{RbConfig.ruby} #{srcdir}/mkconstants.rb -o #{srcdir}/constdefs.h]
|
||||||
end
|
end
|
||||||
|
|
||||||
decl = [
|
have_func('rb_deprecate_constant(Qnil, "None")')
|
||||||
"void rb_deprecate_constant(VALUE, const char *);",
|
|
||||||
]
|
|
||||||
have_func('rb_deprecate_constant(Qnil, "None")', [decl])
|
|
||||||
|
|
||||||
$distcleanfiles << "constdefs.h"
|
$distcleanfiles << "constdefs.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue