mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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
This commit is contained in:
parent
b3e5bda89a
commit
7f0b17c6fc
3 changed files with 38 additions and 41 deletions
2
eval.c
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue