mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/zlib/extconf.rb: Use an exception instaed of bare puts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e4645ca16
commit
69305da74d
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri May 18 15:54:07 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* ext/zlib/extconf.rb: Use an exception instaed of bare puts.
|
||||
|
||||
Fri May 18 15:53:05 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
|
||||
|
|
|
@ -48,8 +48,7 @@ if %w'z libz zlib1 zlib zdll'.find {|z| have_library(z, 'deflateReset')} and
|
|||
'OS_UNKNOWN' => 'Unknown',
|
||||
}
|
||||
unless OS_NAMES.key? os_code then
|
||||
puts "invalid OS_CODE `#{os_code}'"
|
||||
exit
|
||||
raise "invalid OS_CODE `#{os_code}'"
|
||||
end
|
||||
message "#{OS_NAMES[os_code]}\n"
|
||||
defines << "OS_CODE=#{os_code}"
|
||||
|
|
Loading…
Add table
Reference in a new issue