From 0d86f93c3a9fa1598fda20a9b7cdd702b8366c57 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 27 Sep 2005 18:24:11 +0000 Subject: * 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 --- rubysig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rubysig.h') diff --git a/rubysig.h b/rubysig.h index fd43e85d28..232921ebc7 100644 --- a/rubysig.h +++ b/rubysig.h @@ -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) {\ -- cgit v1.2.3