diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-12 01:19:18 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-12 01:19:18 +0000 |
| commit | 5638529195398ef10d3e02053cbde44a5c2ff2da (patch) | |
| tree | 57d520f3becfea770d960e0a26eda60b3db104a5 /thread.c | |
| parent | 1949b29b436becd04c828d4c1b50f5c9b2127da9 (diff) | |
| download | ruby-5638529195398ef10d3e02053cbde44a5c2ff2da.tar.gz ruby-5638529195398ef10d3e02053cbde44a5c2ff2da.tar.xz ruby-5638529195398ef10d3e02053cbde44a5c2ff2da.zip | |
* 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
Diffstat (limited to 'thread.c')
| -rw-r--r-- | thread.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -137,6 +137,12 @@ rb_thread_s_debug_set(VALUE self, VALUE val) #define thread_debug if(0)printf #endif +#ifndef __ia64 +#define thread_start_func_2(th, st, rst) thread_start_func_2(th, st) +#endif +NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start, + VALUE *register_stack_start)); + #if defined(_WIN32) #include "thread_win32.ci" @@ -272,11 +278,7 @@ thread_cleanup_func(void *th_ptr) } static int -thread_start_func_2(rb_thread_t *th, VALUE *stack_start -#ifdef __ia64 - , VALUE *register_stack_start -#endif -) +thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_start) { int state; VALUE args = th->first_args; |
