summaryrefslogtreecommitdiffstats
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
commit0f582ce8b2671ccfb66ac067364061b1ab655660 (patch)
treeb0a388ed9aac6ced1757e2aa2d96a7307b36dc29 /eval.c
parent87076b86f937c5e59013ed3db03ff85b034baafe (diff)
downloadruby-0f582ce8b2671ccfb66ac067364061b1ab655660.tar.gz
ruby-0f582ce8b2671ccfb66ac067364061b1ab655660.tar.xz
ruby-0f582ce8b2671ccfb66ac067364061b1ab655660.zip
* configure.in: check if getcontext and setcontext are available.
* eval.c: use presence of getcontext/setcontext. git-svn-id: http://svn.ruby-lang.org/repos/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 72d0641fb..e58846101 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