Browse Source

Merge branch 'curses_defclr' into bfgminer

Luke Dashjr 12 years ago
parent
commit
e68d0eaaba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      miner.c

+ 2 - 0
miner.c

@@ -286,10 +286,12 @@ const
 #endif
 #endif
 bool curses_active;
 bool curses_active;
 
 
+#ifdef HAVE_CURSES
 #if !(defined(PDCURSES) || defined(NCURSES_VERSION))
 #if !(defined(PDCURSES) || defined(NCURSES_VERSION))
 const
 const
 #endif
 #endif
 short default_bgcolor = COLOR_BLACK;
 short default_bgcolor = COLOR_BLACK;
+#endif
 
 
 static
 static
 #if defined(HAVE_CURSES) && defined(USE_UNICODE)
 #if defined(HAVE_CURSES) && defined(USE_UNICODE)