Quellcode durchsuchen

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

Include FreeBSD-specific header only on FreeBSD.
Branimir Karadžić vor 9 Jahren
Ursprung
Commit
9f7262febf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      include/bx/thread.h

+ 1 - 1
include/bx/thread.h

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