summaryrefslogtreecommitdiff
path: root/ext/io/wait
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 /ext/io/wait
parentb317a4cd28f575b60cdff0da86afef5c1bde9a06 (diff)
* 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 'ext/io/wait')
-rw-r--r--ext/io/wait/wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index eb7ed03cea9..197d9b61734 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -14,7 +14,7 @@
#include "ruby/io.h"
#include <sys/types.h>
-#if defined(HAVE_UNISTD_H) && (defined(__sun) || defined(__sun__))
+#if defined(HAVE_UNISTD_H) && (defined(__sun))
#include <unistd.h>
#endif
#if defined(HAVE_SYS_IOCTL_H)