]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.2074: Compile error with Motif GUI v9.1.2074
authorChristian Brabandt <cb@256bit.org>
Sat, 10 Jan 2026 16:43:43 +0000 (16:43 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 10 Jan 2026 16:43:43 +0000 (16:43 +0000)
Problem:  Compile error with Motif GUI
          (Tony Mechelynck, after v9.1.2072)
Solution: Add ifdef FEAT_GUI_GTK

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui.c
src/version.c

index aeb46c5af50898f9d7877ac26f8b5eb8143c134e..8673ec8d841b2bd67b6267b52f1c32b6cd40a5ae 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -152,7 +152,7 @@ gui_start(char_u *arg UNUSED)
        choose_clipmethod();
 #endif
 
-#ifdef FEAT_SOCKETSERVER
+#if defined(FEAT_SOCKETSERVER) && defined(FEAT_GUI_GTK)
     // Install socket server listening socket if we are running it
     if (socket_server_valid())
        gui_gtk_init_socket_server();
index 63b3aa15c44b4b603f436943f1b502fed3c8ec4a..19cfa47172f047e284f6ca4172369454605ee829 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2074,
 /**/
     2073,
 /**/