diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-09 09:34:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-09 09:34:31 +0000 |
commit | 48f2d3a72d3cd92eea720a632ad71883779df708 (patch) | |
tree | 9a8e84850808c3ad7a0b7d6047aea995ca419421 /eval.c | |
parent | e1885a0079bc61b610842783fe4dd1a2a84d8a81 (diff) | |
download | ruby-48f2d3a72d3cd92eea720a632ad71883779df708.tar.gz |
* configure.in, eval.c, gc.c: use libunwind only on HP-UX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9684,7 +9684,7 @@ Init_Binding() */ #define __libc_ia64_register_backing_store_base (4ULL<<61) #else -#ifdef HAVE_UNWIND_H +#if defined(HAVE_UNWIND_H) && defined(HAVE__UNW_CREATECONTEXTFORSELF) #include <unwind.h> #else #pragma weak __libc_ia64_register_backing_store_base @@ -10271,7 +10271,7 @@ rb_thread_save_context(th) #ifdef __ia64__ { VALUE *top, *bot; -#ifdef HAVE_UNWIND_H +#if defined(HAVE_UNWIND_H) && defined(HAVE__UNW_CREATECONTEXTFORSELF) _Unwind_Context *unwctx = _UNW_createContextForSelf(); _UNW_currentContext(unwctx); @@ -10431,7 +10431,7 @@ rb_thread_restore_context(th, exit) #ifdef __ia64__ { VALUE *base; -#ifdef HAVE_UNWIND_H +#if defined(HAVE_UNWIND_H) && defined(HAVE__UNW_CREATECONTEXTFORSELF) _Unwind_Context *unwctx = _UNW_createContextForSelf(); _UNW_currentContext(unwctx); |