summaryrefslogtreecommitdiff
path: root/ext/date/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-06 23:38:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-06 23:38:31 +0000
commit35c9d383a93ee0da0b009a4944e9359644901d2b (patch)
tree22b80edcab32397de7a936e55025c6e2b1c0f9f0 /ext/date/extconf.rb
parent29246c34eb9a5aa1b18a2ad459d095bd38e72a42 (diff)
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
Diffstat (limited to 'ext/date/extconf.rb')
-rw-r--r--ext/date/extconf.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb
index 29a36a29f4..9f7d3e8f0b 100644
--- a/ext/date/extconf.rb
+++ b/ext/date/extconf.rb
@@ -1,4 +1,2 @@
require 'mkmf'
-have_func('floorl', 'math.h')
-have_func('roundl', 'math.h')
create_makefile('date_core')