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:
Foxe Chen
2025-08-31 20:31:44 +02:00
committed by Christian Brabandt
parent 59d496ab0c
commit 710095cab8
2 changed files with 4 additions and 0 deletions

View File

@ -9637,8 +9637,10 @@ socket_server_send(
if (pending.result != NULL) if (pending.result != NULL)
break; break;
#ifdef ELAPSED_FUNC
if (ELAPSED_FUNC(start_tv) >= (timeout > 0 ? timeout : 1000)) if (ELAPSED_FUNC(start_tv) >= (timeout > 0 ? timeout : 1000))
break; break;
#endif
} }
if (pending.result == NULL) if (pending.result == NULL)

View File

@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1723,
/**/ /**/
1722, 1722,
/**/ /**/