Browse Source

Semi-Merge commit 'a2cc588' into cgmerges

Conflicts:
	api.c
Luke Dashjr 13 years ago
parent
commit
371b80395c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api.c

+ 2 - 0
api.c

@@ -573,7 +573,9 @@ struct CODES {
 
 static int my_thr_id = 0;
 static bool bye;
+#if defined(HAVE_OPENCL) || defined(HAVE_AN_FPGA)
 static bool ping = true;
+#endif
 
 // Used to control quit restart access to shutdown variables
 static pthread_mutex_t quit_restart_lock;