[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 3346000 1/2: Unbreak the Cygwin w32 build
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 3346000 1/2: Unbreak the Cygwin w32 build |
Date: |
Fri, 27 Nov 2015 10:08:53 +0000 |
branch: emacs-25
commit 33460000f92fbfd054937aa3555f6cf27567716d
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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 <address@hidden>.
---
src/emacs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/emacs.c b/src/emacs.c
index c411da6..48ff20a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -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)