From 2082417a48d56295796e2bbfc2001ecf5008a88a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 May 2011 13:36:46 +0000 Subject: * eval.c (setup_exception): internal exception should be hidden git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 8ec6d9bafb..23ed2bc07f 100644 --- a/thread.c +++ b/thread.c @@ -70,8 +70,8 @@ static int rb_threadptr_dead(rb_thread_t *th); static void rb_check_deadlock(rb_vm_t *vm); -static const VALUE eKillSignal = INT2FIX(0); -static const VALUE eTerminateSignal = INT2FIX(1); +#define eKillSignal INT2FIX(0) +#define eTerminateSignal INT2FIX(1) static volatile int system_working = 1; #define closed_stream_error GET_VM()->special_exceptions[ruby_error_closed_stream] -- cgit v1.2.3