]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1723: Missing ifdefs v9.1.1723
authorFoxe Chen <chen.foxe@gmail.com>
Sun, 31 Aug 2025 18:31:44 +0000 (20:31 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 31 Aug 2025 18:31:44 +0000 (20:31 +0200)
Problem:  Missing ifdefs (after v9.1.1719)
Solution: Add ifdef ELAPSED_FUNC (Foxe Chen).

closes: #18178

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_unix.c
src/version.c

index 074a9fed34e4476947c5efc69b1c7832cdd92ed6..1094899390d19a41a6b94a6892363c2eb66df7a3 100644 (file)
@@ -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)
index 042b995aac4a567759aa8d7c9eff79526364c328..903c459b9563ff875e95079e15fee36ae245bd0c 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1723,
 /**/
     1722,
 /**/