Browse Source

Merge commit 'e9b6ff8' into update_avalon_20130524

Luke Dashjr 13 years ago
parent
commit
2bf4333a6f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -2686,12 +2686,14 @@ static void enable_pool(struct pool *pool)
 	}
 }
 
+#ifdef HAVE_CURSES
 static void disable_pool(struct pool *pool)
 {
 	if (pool->enabled == POOL_ENABLED)
 		enabled_pools--;
 	pool->enabled = POOL_DISABLED;
 }
+#endif
 
 static void reject_pool(struct pool *pool)
 {