diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,6 @@ -Wed Jan 27 14:23:36 2010 Nobuyoshi Nakada <[email protected]> +Wed Jan 27 14:25:12 2010 Nobuyoshi Nakada <[email protected]> + + * eval.c (thread_init): used only for setitimer or threaded. * ext/dl/dl.c (c_parray): get rid of a deprecated function. @@ -12417,7 +12417,9 @@ rb_thread_alloc(klass) return th; } +#if defined(HAVE_SETITIMER) || defined(_THREAD_SAFE) static int thread_init; +#endif #if defined(POSIX_SIGNAL) #define CATCH_VTALRM() posix_signal(SIGVTALRM, catch_timer) |