]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4350: FEAT_GUI_ENABLED defined but never used v8.2.4350
authorola.soder@axis.com <ola.soder@axis.com>
Fri, 11 Feb 2022 21:13:35 +0000 (21:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Feb 2022 21:13:35 +0000 (21:13 +0000)
Problem:    FEAT_GUI_ENABLED defined but never used.
Solution:   Remove the #define. (Ola Söder, closes #9732)

src/version.c
src/vim.h

index 6d09210759cb8fef16818f790a81bf7c2acace59..fc314dbed695d38938f315bc0ce0192259559ae4 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4350,
 /**/
     4349,
 /**/
index 4f95bb45f27daf26ede2d39643048612f2ec3d01..3fea0d968439d3cd8b616e5f5eae03a1dd3f71de 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
     || defined(FEAT_GUI_HAIKU) \
     || defined(FEAT_GUI_MSWIN) \
     || defined(FEAT_GUI_PHOTON)
-# define FEAT_GUI_ENABLED  // also defined with NO_X11_INCLUDES
 # if !defined(FEAT_GUI) && !defined(NO_X11_INCLUDES)
 #  define FEAT_GUI
 # endif