patch 9.2.0164: build error when XCLIPBOARD is not defined

Commit: 
https://github.com/vim/vim/commit/ef3cee793f6f277d03e2132236d8a6887ebd064f
Author: Christian Brabandt <[email protected]>
Date:   Sat Mar 14 17:10:21 2026 +0000

    patch 9.2.0164: build error when XCLIPBOARD is not defined
    
    Problem:  build error when XCLIPBOARD is not defined
              (Tony Mechelynck, after v9.2.0158)
    Solution: Update ifdefs
    
    related: #19676
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/drawline.c b/src/drawline.c
index b3f6560a2..b4366c794 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1462,8 +1462,11 @@ win_line(
                area_highlighting = TRUE;
                vi_attr = HL_ATTR(HLF_V);
 #if defined(FEAT_CLIPBOARD) && defined(FEAT_X11)
-               if (xterm_dpy
-                       && ((clip_star.available && !clip_star.owned
+               if (
+# ifdef FEAT_XCLIPBOARD
+                       xterm_dpy &&
+# endif
+                       ((clip_star.available && !clip_star.owned
                                                    && clip_isautosel_star())
                            || (clip_plus.available && !clip_plus.owned
                                                    && clip_isautosel_plus())))
diff --git a/src/version.c b/src/version.c
index 44ff46374..67f31cfba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    164,
 /**/
     163,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1w1T2w-005I9C-11%40256bit.org.

Raspunde prin e-mail lui