1
0
Fork 0
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:
Jeremy Evans 2019-06-26 07:53:54 -07:00
parent 1235e054eb
commit d004989ac6

View file

@ -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
]