From 53e8f00111084b4d98e81a57e025f637835e20a8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 27 Apr 2022 21:06:55 +0300 Subject: Emulate 'clock' for MS-Windows * src/w32.c (sys_clock): New function. (Bug#44674) * nt/inc/ms-w32.h (clock): Redirect to sys_clock. --- nt/inc/ms-w32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nt') diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 3f4b2f34892..2dd9a9a476c 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -295,6 +295,7 @@ extern int sys_unlink (const char *); #undef umask #define umask sys_umask extern int sys_umask (int); +#define clock sys_clock /* Subprocess calls that are emulated. */ #define spawnve sys_spawnve -- cgit v1.2.3