aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2015-11-27 10:01:40 +0200
committerEli Zaretskii2015-11-27 10:01:40 +0200
commit33460000f92fbfd054937aa3555f6cf27567716d (patch)
tree2d409cda5687db1970ba4576bd8b789b96c3a1b2 /src
parenta41cb8c4d3af3f7e542a7bdf79858385a3274d4d (diff)
downloademacs-33460000f92fbfd054937aa3555f6cf27567716d.tar.gz
emacs-33460000f92fbfd054937aa3555f6cf27567716d.zip
Unbreak the Cygwin w32 build
* src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index c411da6a5da..48ff20a11ce 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -760,11 +760,11 @@ main (int argc, char **argv)
760 to have non-stub implementations of APIs we need to convert file 760 to have non-stub implementations of APIs we need to convert file
761 names between UTF-8 and the system's ANSI codepage. */ 761 names between UTF-8 and the system's ANSI codepage. */
762 maybe_load_unicows_dll (); 762 maybe_load_unicows_dll ();
763#endif
763 /* This has to be done before module_init is called below, so that 764 /* This has to be done before module_init is called below, so that
764 the latter could use the thread ID of the main thread. */ 765 the latter could use the thread ID of the main thread. */
765 w32_init_main_thread (); 766 w32_init_main_thread ();
766#endif 767#endif
767#endif
768 768
769#ifdef RUN_TIME_REMAP 769#ifdef RUN_TIME_REMAP
770 if (initialized) 770 if (initialized)