]> code.delx.au - gnu-emacs/commitdiff
Unbreak the Cygwin w32 build
authorEli Zaretskii <eliz@gnu.org>
Fri, 27 Nov 2015 08:01:40 +0000 (10:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 27 Nov 2015 08:01:40 +0000 (10:01 +0200)
* src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
build as well.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

src/emacs.c

index c411da6a5da87212b44e0dfe98138519d559c410..48ff20a11ce4e127167366d2444fd685110c22f1 100644 (file)
@@ -760,11 +760,11 @@ main (int argc, char **argv)
      to have non-stub implementations of APIs we need to convert file
      names between UTF-8 and the system's ANSI codepage.  */
   maybe_load_unicows_dll ();
+#endif
   /* This has to be done before module_init is called below, so that
      the latter could use the thread ID of the main thread.  */
   w32_init_main_thread ();
 #endif
-#endif
 
 #ifdef RUN_TIME_REMAP
   if (initialized)