summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 02:39:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 02:39:18 +0000
commite2f2cf425c2802980d02f07075b1f7320bad305a (patch)
treeaa9dcf6b2084a113a476b2869350792e5150e6b4 /include/ruby/missing.h
parent37910b13fbc1d6831b5623368472497629b36ae9 (diff)
* include/ruby/missing.h (signbit): add missing prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 18dabaa5b3e..cde1baa5dd9 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -159,6 +159,10 @@ RUBY_EXTERN size_t strlcpy(char *, const char*, size_t);
RUBY_EXTERN size_t strlcat(char *, const char*, size_t);
#endif
+#ifndef HAVE_SIGNBIT
+RUBY_EXTERN int signbit(double x);
+#endif
+
#ifndef HAVE_FFS
RUBY_EXTERN int ffs(int);
#endif