diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-04-27 21:06:55 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-04-27 21:06:55 +0300 |
commit | 53e8f00111084b4d98e81a57e025f637835e20a8 (patch) | |
tree | a23622ad4ae941b1bf349e8bb18e0b296a021233 /nt | |
parent | 89519d0932b3f2961dfc74b9f945c3a5a21e70fd (diff) | |
download | emacs-53e8f00111084b4d98e81a57e025f637835e20a8.tar.gz |
Emulate 'clock' for MS-Windows
* src/w32.c (sys_clock): New function. (Bug#44674)
* nt/inc/ms-w32.h (clock): Redirect to sys_clock.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/inc/ms-w32.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |