1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Fix misdefine.

This commit is contained in:
Con Kolivas 2012-01-29 09:23:27 +11:00
parent 9566a93372
commit 5c8829c17b

2
main.c
View File

@ -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;
}