Browse Source

Merge branch 'unicode' into bfgminer

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

+ 4 - 2
miner.c

@@ -286,16 +286,18 @@ const
 #endif
 #endif
 bool curses_active;
 bool curses_active;
 
 
-#ifdef HAVE_CURSES
 static
 static
-#ifdef USE_UNICODE
+#if defined(HAVE_CURSES) && defined(USE_UNICODE)
 bool use_unicode = true;
 bool use_unicode = true;
+static
 bool have_unicode_degrees;
 bool have_unicode_degrees;
 #else
 #else
 const bool use_unicode;
 const bool use_unicode;
+static
 const bool have_unicode_degrees;
 const bool have_unicode_degrees;
 #endif
 #endif
 
 
+#ifdef HAVE_CURSES
 bool selecting_device;
 bool selecting_device;
 unsigned selected_device;
 unsigned selected_device;
 #endif
 #endif