From ea0dbcc6660ddaa776bb0cce84d7280e2d26a7f2 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 7 Feb 2007 13:38:29 +0000 Subject: * eval_intern.h, yarvcore.h: remove unused macro definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- yarvcore.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'yarvcore.h') diff --git a/yarvcore.h b/yarvcore.h index d47e6f03b..3a65621e3 100644 --- a/yarvcore.h +++ b/yarvcore.h @@ -17,10 +17,6 @@ #include -#if 0 && defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT) -#include -#define USE_CONTEXT -#endif #include "ruby.h" #include "st.h" #include "node.h" @@ -371,14 +367,7 @@ enum rb_thread_status { THREAD_KILLED, }; -#ifdef USE_CONTEXT -typedef struct { - ucontext_t context; - volatile int status; -} rb_jmpbuf_t[1]; -#else typedef jmp_buf rb_jmpbuf_t; -#endif struct rb_vm_tag { rb_jmpbuf_t buf; -- cgit