Browse Source

Merge branch 'bugfix_lnx_affinity' into bfgminer

Luke Dashjr 13 years ago
parent
commit
99cb0b5f1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-cpu.c

+ 1 - 1
driver-cpu.c

@@ -39,7 +39,7 @@
 	#include <fcntl.h>
 #endif
 
-#if defined(__linux) && defined(cpu_set_t) /* Linux specific policy and affinity management */
+#if defined(__linux) && defined(CPU_ZERO)  /* Linux specific policy and affinity management */
 #include <sched.h>
 static inline void drop_policy(void)
 {