LWP doesn't work with Darwin due to OS bugs, avoid it for now
Darwin's getcontext() overruns its argument buffer.
This commit is contained in:
parent
de2651efa1
commit
2454304dde
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,14 @@
|
|||
AC_DEFUN([MY_FUNC_MAKECONTEXT],
|
||||
[
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
case "$host_os" in
|
||||
*darwin*)
|
||||
# ucontext appears to be broken, avoid it for now
|
||||
ac_cv_func_makecontext=no
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_FUNCS(makecontext)
|
||||
esac
|
||||
case "$host_os" in
|
||||
*irix*|*solaris2.?)
|
||||
AC_DEFINE([MAKECONTEXT_SP_HIGH], 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue