Commit dd5788762f94b8bc5713708405d26bcd948811a2

Con Kolivas 2013-06-04T21:49:28

Fix build for !curses

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cgminer.c b/cgminer.c
index f1ce103..63e0dc2 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2220,6 +2220,10 @@ void wlogprint(const char *f, ...)
 		unlock_curses();
 	}
 }
+#else
+static void switch_logsize(void)
+{
+}
 #endif
 
 #ifdef HAVE_CURSES