diff options
| author | Eli Zaretskii | 2019-06-24 20:06:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-24 20:06:34 +0300 |
| commit | 9f5f5ae6386fe1ea9f31bd760d7ffd293d274502 (patch) | |
| tree | ca27cef4db5fd9e02be339e8a8765b5c8dfe9342 /src/w32.h | |
| parent | 38502cd44d58a92f378b0e6915a5360f32f6f1ab (diff) | |
| download | emacs-9f5f5ae6386fe1ea9f31bd760d7ffd293d274502.tar.gz emacs-9f5f5ae6386fe1ea9f31bd760d7ffd293d274502.zip | |
Fix MS-Windows build as followup to pdumper executable lookup
* src/w32.c (w32_my_exename): New function.
* src/w32.h (w32_my_exename): Add prototype.
* src/emacs.c (load_pdump_find_executable) [WINDOWSNT]: Find
the actual file name of the program without looking along
PATH, by calling w32_my_exename.
* nt/mingw-cfg.site (ac_cv_func_canonicalize_file_name)
(ac_cv_func_realpath, gl_cv_func_realpath_works): Disable
testing.
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_canonicalize-lgpl): Set
to true.
Diffstat (limited to 'src/w32.h')
| -rw-r--r-- | src/w32.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -185,6 +185,7 @@ extern MultiByteToWideChar_Proc pMultiByteToWideChar; | |||
| 185 | extern WideCharToMultiByte_Proc pWideCharToMultiByte; | 185 | extern WideCharToMultiByte_Proc pWideCharToMultiByte; |
| 186 | extern DWORD multiByteToWideCharFlags; | 186 | extern DWORD multiByteToWideCharFlags; |
| 187 | 187 | ||
| 188 | extern char *w32_my_exename (void); | ||
| 188 | extern const char *w32_relocate (const char *); | 189 | extern const char *w32_relocate (const char *); |
| 189 | 190 | ||
| 190 | extern void init_environment (char **); | 191 | extern void init_environment (char **); |