patch 9.1.1723: Missing ifdefs

Commit: 
https://github.com/vim/vim/commit/710095cab8134f0dbdfa0710ab6e46c5e5bfa5fa
Author: Foxe Chen <[email protected]>
Date:   Sun Aug 31 20:31:44 2025 +0200

    patch 9.1.1723: Missing ifdefs
    
    Problem:  Missing ifdefs (after v9.1.1719)
    Solution: Add ifdef ELAPSED_FUNC (Foxe Chen).
    
    closes: #18178
    
    Signed-off-by: Foxe Chen <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/os_unix.c b/src/os_unix.c
index 074a9fed3..109489939 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -9637,8 +9637,10 @@ socket_server_send(
        if (pending.result != NULL)
            break;
 
+#ifdef ELAPSED_FUNC
        if (ELAPSED_FUNC(start_tv) >= (timeout > 0 ? timeout : 1000))
            break;
+#endif
     }
 
     if (pending.result == NULL)
diff --git a/src/version.c b/src/version.c
index 042b995aa..903c459b9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1723,
 /**/
     1722,
 /**/

-- 
-- 
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/E1usn30-00DfbS-Pd%40256bit.org.

Raspunde prin e-mail lui