preproc: FreeBSD also provides pthread

This commit is contained in:
Thomas Debesse 2017-08-30 13:17:29 +02:00
parent 3e859fb81e
commit 9f595b664b
3 changed files with 5 additions and 5 deletions

View file

@ -571,7 +571,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
Sys_Printf( " (%i)\n", end - start );
}
}
#endif // ifdef __linux__
#endif // if defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __APPLE__ )
/*

View file

@ -414,7 +414,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
=======================================================================
*/
#ifdef __linux__
#if defined( __linux__ ) || defined( __FreeBSD__ )
#define USED
int numthreads = 4;
@ -569,7 +569,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
Sys_Printf( " (%i)\n", end - start );
}
}
#endif // ifdef __linux__
#endif // if defined( __linux__ ) || defined( __FreeBSD__ )
/*

View file

@ -414,7 +414,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
=======================================================================
*/
#ifdef __linux__
#if defined( __linux__ ) || defined( __FreeBSD__ )
#define USED
int numthreads = 4;
@ -570,7 +570,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
Sys_Printf( " (%i)\n", end - start );
}
}
#endif // ifdef __linux__
#endif // if defined( __linux__ ) || defined( __FreeBSD__ )
/*