summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 11:09:47 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-15 11:09:47 +0000
commit3d25acdccc6c6afec0649655859590892b561c9d (patch)
tree571a87539732e51d4c3f51bc91eeb9c072b29073 /thread.c
parente4081877a8240541fb47ef08095f73db3e156325 (diff)
* io.c, thread.c, ext/pty/pty.c, ext/fiddle/closure.c: use
__linux__ macro for consistency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 38b524e1bc..2ad443807d 100644
--- a/thread.c
+++ b/thread.c
@@ -2702,7 +2702,7 @@ rb_thread_fd_select(int max, rb_fdset_t * read, rb_fdset_t * write, rb_fdset_t *
* one we know of that supports using poll() in all places select()
* would work.
*/
-#if defined(HAVE_POLL) && defined(linux)
+#if defined(HAVE_POLL) && defined(__linux__)
# define USE_POLL
#endif