From 5c8829c17bc0e9f38d0e995097276a57a79b3b34 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 29 Jan 2012 09:23:27 +1100 Subject: [PATCH] Fix misdefine. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 51f70d25..5515a4ab 100644 --- a/main.c +++ b/main.c @@ -5846,7 +5846,7 @@ void enable_device(struct cgpu_info *cgpu) cgpu->enabled = true; devices[cgpu->cgminer_id = cgminer_id_count++] = cgpu; mining_threads += cgpu->threads; -#ifdef OPENCL +#ifdef HAVE_OPENCL if (cgpu->api == &opencl_api) { gpu_threads += cgpu->threads; }