summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 09:51:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-26 09:51:04 +0000
commit7f0b17c6fc07615dd900d0ffec190606f7ce734d (patch)
treeb0a388ed9aac6ced1757e2aa2d96a7307b36dc29 /eval.c
parentb3e5bda89aaceb03153a3ecd6cfdf55c5a48d746 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 72d0641fb5..e588461012 100644
--- a/eval.c
+++ b/eval.c
@@ -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