mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not attempt to use ucontext for fibers on OpenBSD
OpenBSD does not support ucontext. There may be a more generic way to handle this, using the result of AC_CHECK_HEADERS(ucontext.h).
This commit is contained in:
parent
1235e054eb
commit
d004989ac6
1 changed files with 3 additions and 0 deletions
|
@ -2281,6 +2281,9 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes|''], [
|
|||
[powerpc64le-linux], [
|
||||
rb_cv_fiber_coroutine=ppc64le
|
||||
],
|
||||
[*-openbsd*], [
|
||||
rb_cv_fiber_coroutine=
|
||||
],
|
||||
[*], [
|
||||
rb_cv_fiber_coroutine=ucontext
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue