diff options
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index ba71ceb84ce..c411da6a5da 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -760,6 +760,9 @@ 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 | /* 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 | w32_init_main_thread (); | ||
| 763 | #endif | 766 | #endif |
| 764 | #endif | 767 | #endif |
| 765 | 768 | ||