diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-27 18:24:11 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-27 18:24:11 +0000 |
commit | 0d86f93c3a9fa1598fda20a9b7cdd702b8366c57 (patch) | |
tree | ac3f3d636c0dab06060b7606d2a4ef2d4eab6125 /rubysig.h | |
parent | c81747c47e39a26528c9fa99b08da59d1a6ff96d (diff) |
* rubysig.h: fixed build problem with --enable-pthread on platforms
which don't have setitimer().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubysig.h')
-rw-r--r-- | rubysig.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ void rb_trap_restore_mask _((void)); RUBY_EXTERN int rb_thread_critical; void rb_thread_schedule _((void)); -#if defined(HAVE_SETITIMER) +#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE) RUBY_EXTERN int rb_thread_pending; # define CHECK_INTS do {\ if (!rb_prohibit_interrupt) {\ |