mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-04-25 03:32:20 +00:00
preproc: FreeBSD also provides pthread
This commit is contained in:
parent
3e859fb81e
commit
9f595b664b
3 changed files with 5 additions and 5 deletions
|
@ -571,7 +571,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
|
||||||
Sys_Printf( " (%i)\n", end - start );
|
Sys_Printf( " (%i)\n", end - start );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // ifdef __linux__
|
#endif // if defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __APPLE__ )
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -414,7 +414,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
|
||||||
=======================================================================
|
=======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
#define USED
|
#define USED
|
||||||
|
|
||||||
int numthreads = 4;
|
int numthreads = 4;
|
||||||
|
@ -569,7 +569,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
|
||||||
Sys_Printf( " (%i)\n", end - start );
|
Sys_Printf( " (%i)\n", end - start );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // ifdef __linux__
|
#endif // if defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -414,7 +414,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
|
||||||
=======================================================================
|
=======================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
#define USED
|
#define USED
|
||||||
|
|
||||||
int numthreads = 4;
|
int numthreads = 4;
|
||||||
|
@ -570,7 +570,7 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ){
|
||||||
Sys_Printf( " (%i)\n", end - start );
|
Sys_Printf( " (%i)\n", end - start );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // ifdef __linux__
|
#endif // if defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue