mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-09 20:21:01 +00:00
Small change to help arch's without processor affinity
This commit is contained in:
parent
97ab111ec9
commit
195bd57a38
@ -39,7 +39,7 @@
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux /* Linux specific policy and affinity management */
|
||||
#if defined(__linux) && defined(cpu_set_t) /* Linux specific policy and affinity management */
|
||||
#include <sched.h>
|
||||
static inline void drop_policy(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user