FreeBSD fix
This commit is contained in:
parent
64ed4fb578
commit
114a0f142d
|
@ -560,6 +560,7 @@ case $OS in
|
|||
FreeBSD)
|
||||
LIBS="$LIBS -rdynamic"
|
||||
DYN_CFLAGS="-fPIC"
|
||||
GC_THREADS_FLAG="-DGC_FREEBSD_THREADS"
|
||||
enable_pthread=yes
|
||||
;;
|
||||
OpenBSD)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user