Browse Source

miner.h: add the avalon mutex

Xiangfu 13 years ago
parent
commit
78e3e588d4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.h

+ 3 - 0
miner.h

@@ -395,8 +395,11 @@ struct cgpu_info {
 	bool nonce_range;
 	bool nonce_range;
 	bool polling;
 	bool polling;
 	bool flash_led;
 	bool flash_led;
+#endif
+#if defined(USE_BITFORCE) || defined(USE_AVALON)
 	pthread_mutex_t device_mutex;
 	pthread_mutex_t device_mutex;
 #endif
 #endif
+
 	enum dev_enable deven;
 	enum dev_enable deven;
 	int accepted;
 	int accepted;
 	int rejected;
 	int rejected;