diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-07 13:38:29 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-07 13:38:29 +0000 |
commit | 0b91bd56c2246f4a6dc313e0972a28074c68ecee (patch) | |
tree | 71c2109eb8cbe79707f7d1f06635db2b9ddd36fa /yarvcore.h | |
parent | 4042176a9920b384d99152883fe6b7aed20d5827 (diff) | |
download | ruby-0b91bd56c2246f4a6dc313e0972a28074c68ecee.tar.gz |
* 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.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/yarvcore.h b/yarvcore.h index d47e6f03bb..3a65621e36 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; |