summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-31 17:58:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-31 17:58:41 +0000
commit67f55e768e9c4fb0e7c9c91e87e358c031f59e31 (patch)
treec4ae86bd8774ee11d9b4104ad35d39da92a4d442 /vm_core.h
parente6dc364272c7963f511b04178caa6edb8a7ff7a7 (diff)
downloadruby-67f55e768e9c4fb0e7c9c91e87e358c031f59e31.tar.gz
ruby-67f55e768e9c4fb0e7c9c91e87e358c031f59e31.tar.xz
ruby-67f55e768e9c4fb0e7c9c91e87e358c031f59e31.zip
* configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers
__builtin_setjmp, _setjmp over setjmp and sigsetjmp. [ruby-core:16023], [ruby-core:16086] * configure.in (--with-setjmp-type): new option to override the default rule in the above. * eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp), vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and RUBY_JMP_BUF. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 551e87a48..540175cba 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -346,7 +346,7 @@ enum rb_thread_status {
THREAD_KILLED,
};
-typedef jmp_buf rb_jmpbuf_t;
+typedef RUBY_JMP_BUF rb_jmpbuf_t;
struct rb_vm_tag {
rb_jmpbuf_t buf;