Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed pthread_np.h detection on OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 20, 2012
1 parent 6fe1704 commit 524d1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -1826,7 +1826,7 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]])
])
AC_MSG_RESULT($has_pthread_spin_trylock)

AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes)
AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes, have_pthread_np_h=no, [ #include <pthread.h> ])
if test x$have_pthread_np_h = xyes; then
AC_DEFINE(HAVE_PTHREAD_NP_H, 1, [ ])
fi
Expand Down

0 comments on commit 524d1ea

Please sign in to comment.