Mercurial > vim
diff src/if_mzsch.c @ 16451:7ae2396cef62 v8.1.1230
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
commit https://github.com/vim/vim/commit/afde13b62b8fa25dac4635d5caee8d088b937ee0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 28 19:46:49 2019 +0200
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Apr 2019 20:00:10 +0200 |
parents | cd5c83115ec6 |
children | ce04ebdf26b8 |
line wrap: on
line diff
--- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -822,7 +822,7 @@ static EventLoopTimerRef timer_id = NULL static EventLoopTimerUPP timerUPP; #endif -#ifndef FEAT_GUI_MSWIN /* Win32 console and Unix */ +#if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL) /* Win32 console and Unix */ void mzvim_check_threads(void) { @@ -1775,9 +1775,11 @@ get_option(void *data, int argc, Scheme_ case -2: MZ_GC_UNREG(); raise_vim_exn(_("hidden option")); + /*NOTREACHED*/ case -3: MZ_GC_UNREG(); raise_vim_exn(_("unknown option")); + /*NOTREACHED*/ } /* unreachable */ return scheme_void;