Commit 1725a1c0210d0b1814087efde354318f071f17b6

Con Kolivas 2011-07-30T23:19:53

Fix non-opencl build.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/main.c b/main.c
index 23dfbb6..eda639b 100644
--- a/main.c
+++ b/main.c
@@ -3409,6 +3409,10 @@ static void *reinit_gpu(void *userdata)
 
 	return NULL;
 }
+#else
+static void *reinit_gpu(void *userdata)
+{
+}
 #endif
 
 static void reinit_device(struct cgpu_info *cgpu)