diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 18:43:24 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 18:43:24 +0000 |
commit | 7e9c25d0768f6bf897db31e2302ee573e3ef2350 (patch) | |
tree | 3afe87bf813168b07b3e79889f8a9098aa348ff1 /thread_pthread.c | |
parent | f4a8db647ae66621f5d37402f5a11a3d57c69bb0 (diff) | |
download | ruby-7e9c25d0768f6bf897db31e2302ee573e3ef2350.tar.gz |
* thread_pthread.c: use #ifdef, not #if.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 9075314135..5d24029c56 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -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; |