mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread_pthread.c: use #ifdef, not #if.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4a8db647a
commit
7e9c25d076
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jul 20 03:42:54 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* thread_pthread.c: use #ifdef, not #if.
|
||||
|
||||
Thu Jul 19 15:08:40 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_thread_s_control_interrupt,
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#elif HAVE_SYS_FCNTL_H
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
#if HAVE_SYS_PRCTL_H
|
||||
#ifdef HAVE_SYS_PRCTL_H
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
#if defined(__native_client__) && defined(NACL_NEWLIB)
|
||||
|
@ -1430,7 +1430,7 @@ ruby_stack_overflowed_p(const rb_thread_t *th, const void *addr)
|
|||
int
|
||||
rb_reserved_fd_p(int fd)
|
||||
{
|
||||
#if USE_SLEEPY_TIMER_THRAED
|
||||
#ifdef USE_SLEEPY_TIMER_THRAED
|
||||
if (fd == timer_thread_pipe[0] ||
|
||||
fd == timer_thread_pipe[1]) {
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue