summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-24 17:23:45 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-24 17:23:45 +0200
commit87202264f8e27f084c0e58f98aeb27fa5c6d5251 (patch)
tree759227c129d05bbc533dc54554258a9f303ada5f /src/globals.h
parent9c65253fe702ea010afec11aa971acd542c35de2 (diff)
patch 8.2.0816: terminal test fails when compiled with Athenav8.2.0816
Problem: Terminal test fails when compiled with Athena. Solution: Do give an error when the GUI is not running. (hint by Dominique Pelle, closes #5928, closes #6132)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 60c3c668b8..648da7dcef 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1767,6 +1767,9 @@ EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before
EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s"));
#endif
+#if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
+EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s"));
+#endif
#ifdef FEAT_GUI_MAC
EXTERN short disallow_gui INIT(= FALSE);