diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-26 09:51:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-26 09:51:04 +0000 |
commit | 7f0b17c6fc07615dd900d0ffec190606f7ce734d (patch) | |
tree | b0a388ed9aac6ced1757e2aa2d96a7307b36dc29 /eval.c | |
parent | b3e5bda89aaceb03153a3ecd6cfdf55c5a48d746 (diff) |
* configure.in: check if getcontext and setcontext are available.
* eval.c: use presence of getcontext/setcontext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ #endif #include <stdio.h> -#if defined(HAVE_UCONTEXT_H) && (defined(__ia64__) || defined(HAVE_NATIVETHREAD)) && !defined(__stub_getcontext) +#if defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT) #include <ucontext.h> #define USE_CONTEXT #else |