From 89f0e4bd5970d5e127b1bdb81b02cd477293b506 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Fri, 11 Feb 2022 23:25:34 -0800 Subject: [PATCH] Restore the msclock_t typedef. Things were using it. --- src/xpdev/genwrap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index 18b2892292..0e8dfed793 100644 --- a/src/xpdev/genwrap.h +++ b/src/xpdev/genwrap.h @@ -378,8 +378,9 @@ DLLEXPORT char* byte_count_to_str(int64_t bytes, char* str, size_t size); DLLEXPORT char* byte_estimate_to_str(int64_t bytes, char* str, size_t size, ulong unit, int precision); /* Microsoft (e.g. DOS/Win32) real-time system clock API (ticks since process started) */ +typedef clock_t msclock_t; #define MSCLOCKS_PER_SEC 1000 -clock_t msclock(void); +msclock_t msclock(void); DLLEXPORT BOOL check_pid(pid_t); DLLEXPORT BOOL terminate_pid(pid_t); -- GitLab