diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-28 19:46:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-28 19:46:49 +0200 |
commit | afde13b62b8fa25dac4635d5caee8d088b937ee0 (patch) | |
tree | 6a8b58aa58e180e55b2948e5d0bfdbc3d4692a49 /src/globals.h | |
parent | ab4cece6053b0bfd604e15065227b94af873608b (diff) |
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230
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)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h index 5c5d8d2d32..d0a8d91242 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1442,7 +1442,7 @@ EXTERN char e_nesting[] INIT(= N_("E22: Scripts nested too deep")); EXTERN char e_noalt[] INIT(= N_("E23: No alternate file")); EXTERN char e_noabbr[] INIT(= N_("E24: No such abbreviation")); EXTERN char e_nobang[] INIT(= N_("E477: No ! allowed")); -#ifndef FEAT_GUI +#if !defined(FEAT_GUI) || defined(VIMDLL) EXTERN char e_nogvim[] INIT(= N_("E25: GUI cannot be used: Not enabled at compile time")); #endif #ifndef FEAT_RIGHTLEFT @@ -1645,6 +1645,7 @@ EXTERN int *eval_lavars_used INIT(= NULL); #ifdef MSWIN EXTERN int ctrl_break_was_pressed INIT(= FALSE); +EXTERN HINSTANCE g_hinst INIT(= NULL); #endif #ifdef FEAT_TEXT_PROP |