mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-15 11:27:35 +00:00
Define HAVE_PTHREADS, if available
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user