diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 11:09:47 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-15 11:09:47 +0000 |
commit | 3d25acdccc6c6afec0649655859590892b561c9d (patch) | |
tree | 571a87539732e51d4c3f51bc91eeb9c072b29073 /thread.c | |
parent | e4081877a8240541fb47ef08095f73db3e156325 (diff) | |
download | ruby-3d25acdccc6c6afec0649655859590892b561c9d.tar.gz |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |