Bryan Drewery 21 éve
szülő
commit
57029745dd
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/main.c

+ 2 - 0
src/main.c

@@ -555,7 +555,9 @@ static void check_tempdir()
 
 
 /* FIXME: Remove after 1.2 (the hacks) */
 /* FIXME: Remove after 1.2 (the hacks) */
 static void startup_checks(int hack) {
 static void startup_checks(int hack) {
+#ifdef CYGWIN_HACKS
   int enc = CONF_ENC;
   int enc = CONF_ENC;
+#endif /* CYGWIN_HACKS */
 
 
   /* for compatability with old conf files 
   /* for compatability with old conf files 
    * only check/use conf file if it exists and settings.uname is empty.
    * only check/use conf file if it exists and settings.uname is empty.