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 | b1d08eabdad09ff5b6d955b369331e4c43a6a187 (patch) | |
tree | 2182fd263eaa391135d4609478267f96e15bb987 | |
parent | 0377141da6b0bb62e0fcde2e36bf70655c88e749 (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/trunk@9320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | rubysig.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Sep 28 03:16:41 2005 NAKAMURA Usaku <[email protected]> + + * rubysig.h: fixed build problem with --enable-pthread on platforms + which don't have setitimer(). + Mon Sep 26 20:59:28 2005 Hirokazu Yamamoto <[email protected]> * parse.y: changed to ANSI function style. @@ -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) {\ |