diff options
-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 <usa@ruby-lang.org> + + * rubysig.h: fixed build problem with --enable-pthread on platforms + which don't have setitimer(). + Mon Sep 26 20:59:28 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * 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) {\ |