FreeBSD fix

This commit is contained in:
Kevin Tew 2010-05-13 21:04:31 -06:00
parent 64ed4fb578
commit 114a0f142d
2 changed files with 2 additions and 0 deletions

View File

@ -560,6 +560,7 @@ case $OS in
FreeBSD)
LIBS="$LIBS -rdynamic"
DYN_CFLAGS="-fPIC"
GC_THREADS_FLAG="-DGC_FREEBSD_THREADS"
enable_pthread=yes
;;
OpenBSD)

View File

@ -27,6 +27,7 @@ void mzrt_set_user_break_handler(void (*user_break_handler)(int));
# include <winsock2.h>
typedef HANDLE mzrt_thread_id;
#else
#include <pthread.h>
typedef pthread_t mzrt_thread_id;
#endif