mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix of ext/date/date_core.
* ext/date/date_core.c (DateTimeData): should not use bare 'long long' and 'long double', which are not defined by C89. * ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting down double to integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
29246c34eb
commit
35c9d383a9
2 changed files with 17 additions and 29 deletions
|
@ -1,4 +1,2 @@
|
|||
require 'mkmf'
|
||||
have_func('floorl', 'math.h')
|
||||
have_func('roundl', 'math.h')
|
||||
create_makefile('date_core')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue