mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-20 00:31:28 +00:00
Define HAVE_PTHREADS, if available
This commit is contained in:
parent
2a756136e4
commit
9914de4a09
@ -89,6 +89,9 @@ if [[ "x$EMULATED_PPC" = "xyes" ]]; then
|
||||
])
|
||||
])
|
||||
AC_CHECK_FUNCS(pthread_cancel)
|
||||
if [[ "x$HAVE_PTHREADS" = "xyes" ]]; then
|
||||
AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl If POSIX.4 semaphores are not available, we emulate them with pthread mutexes.
|
||||
|
Loading…
Reference in New Issue
Block a user