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 | 6c495b64b8f693f44ed67b4433f727bc2fc1d948 (patch) | |
| tree | ac3f3d636c0dab06060b7606d2a4ef2d4eab6125 | |
| parent | d4f050152d4d44cb3e7c882153f221209173579c (diff) | |
| download | ruby-6c495b64b8f693f44ed67b4433f727bc2fc1d948.tar.gz ruby-6c495b64b8f693f44ed67b4433f727bc2fc1d948.tar.xz ruby-6c495b64b8f693f44ed67b4433f727bc2fc1d948.zip | |
* rubysig.h: fixed build problem with --enable-pthread on platforms
which don't have setitimer().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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:23:35 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 22:32:13 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (set_trace_func): add rb_secure(4) to prevent adding @@ -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) {\ |
