Include FreeBSD-specific header only on FreeBSD.

This commit is contained in:
Thomas Klausner
2016-06-30 20:10:47 +02:00
parent cba9c7fe8e
commit babef94b79

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) ) )