Бранимир Караџић hace 3 años
padre
commit
6332fb0305
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/thread.cpp

+ 2 - 2
src/thread.cpp

@@ -24,9 +24,9 @@
 	|| BX_PLATFORM_RPI	   \
 	|| BX_PLATFORM_RPI	   \
 	|| BX_PLATFORM_NX
 	|| BX_PLATFORM_NX
 #	include <pthread.h>
 #	include <pthread.h>
-#	if defined(__FreeBSD__)
+#	if BX_PLATFORM_BSD
 #		include <pthread_np.h>
 #		include <pthread_np.h>
-#	endif
+#	endif // BX_PLATFORM_BSD
 #	if BX_PLATFORM_LINUX && (BX_CRT_GLIBC < 21200)
 #	if BX_PLATFORM_LINUX && (BX_CRT_GLIBC < 21200)
 #		include <sys/prctl.h>
 #		include <sys/prctl.h>
 #	endif // BX_PLATFORM_
 #	endif // BX_PLATFORM_