summaryrefslogtreecommitdiff
path: root/yarvcore.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-07 13:38:29 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-07 13:38:29 +0000
commit0b91bd56c2246f4a6dc313e0972a28074c68ecee (patch)
tree71c2109eb8cbe79707f7d1f06635db2b9ddd36fa /yarvcore.h
parent4042176a9920b384d99152883fe6b7aed20d5827 (diff)
* eval_intern.h, yarvcore.h: remove unused macro definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/yarvcore.h b/yarvcore.h
index d47e6f03bb3..3a65621e360 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -17,10 +17,6 @@
#include <setjmp.h>
-#if 0 && defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT)
-#include <ucontext.h>
-#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;