aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-24 14:57:08 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-24 14:57:08 +0000
commit2bb5441808b95926697799de2ab2d2675c89084e (patch)
tree12d7ebb79bcacca1b0dcf7d812209721aa6a7e58 /math.c
parentb317a4cd28f575b60cdff0da86afef5c1bde9a06 (diff)
downloadruby-2bb5441808b95926697799de2ab2d2675c89084e.tar.gz
* complex.c: use "__sun" instead of "__sun__" to detect SunOS.
* math.c: ditto. * hash.c: ditto. * atomic.h: ditto. * ext/io/wait/wait.c: ditto. [ruby-dev:44693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index e9e1678dc6..2eb95dcd10 100644
--- a/math.c
+++ b/math.c
@@ -14,7 +14,7 @@
#include <math.h>
#include <errno.h>
-#if defined(HAVE_SIGNBIT) && defined(__GNUC__) && defined(__sun__) && \
+#if defined(HAVE_SIGNBIT) && defined(__GNUC__) && defined(__sun) && \
!defined(signbit)
extern int signbit(double);
#endif