Browse Source

Fix build for !curses

Con Kolivas 12 years ago
parent
commit
dd5788762f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      cgminer.c

+ 4 - 0
cgminer.c

@@ -2220,6 +2220,10 @@ void wlogprint(const char *f, ...)
 		unlock_curses();
 		unlock_curses();
 	}
 	}
 }
 }
+#else
+static void switch_logsize(void)
+{
+}
 #endif
 #endif
 
 
 #ifdef HAVE_CURSES
 #ifdef HAVE_CURSES