From 5638529195398ef10d3e02053cbde44a5c2ff2da Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Jul 2007 01:19:18 +0000 Subject: * thread_pthread.ci (thread_start_func_2): not use a directive inside a macro argument. [ruby-talk:258763] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.ci | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'thread_pthread.ci') diff --git a/thread_pthread.ci b/thread_pthread.ci index 18f357711..0f91a8606 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -86,12 +86,6 @@ Init_native_thread() posix_signal(SIGVTALRM, null_func); } -NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start -#ifdef __ia64 - , VALUE *register_stack_start -#endif -)); - static void native_thread_destroy(rb_thread_t *th) { @@ -111,11 +105,7 @@ thread_start_func_1(void *th_ptr) VALUE stack_start; /* run */ - thread_start_func_2(th, &stack_start -#ifdef __ia64 - , rb_ia64_bsp() -#endif - ); + thread_start_func_2(th, &stack_start, rb_ia64_bsp()); } #if USE_THREAD_CACHE if (1) { -- cgit