mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
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 <chen.foxe@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
59d496ab0c
commit
710095cab8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user