Merge pull request #118 from 0-wiz-0/master

Include FreeBSD-specific header only on FreeBSD.
This commit is contained in:
Branimir Karadžić
2016-06-30 13:20:54 -07:00
committed by GitHub

View File

@@ -8,7 +8,7 @@
#if BX_PLATFORM_POSIX
# include <pthread.h>
# if BX_PLATFORM_BSD
# if defined(__FreeBSD__)
# include <pthread_np.h>
# endif
# if defined(__GLIBC__) && !( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) ) )