hi, here is a patch to add timeapi.h. everything seems to be already available in mmsystem.h, so just include that.
From f036ac183f91fb0ad7ff17cd5872f45e1ea7b8b4 Mon Sep 17 00:00:00 2001 From: Michel Zou <xantare...@hotmail.com> Date: Sat, 1 Jan 2022 10:16:11 +0100 Subject: [PATCH] add timeapi.h --- mingw-w64-headers/include/timeapi.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mingw-w64-headers/include/timeapi.h diff --git a/mingw-w64-headers/include/timeapi.h b/mingw-w64-headers/include/timeapi.h new file mode 100644 index 000000000..5ac5a9d77 --- /dev/null +++ b/mingw-w64-headers/include/timeapi.h @@ -0,0 +1,11 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ +#ifndef _INC_TIMEAPI +#define _INC_TIMEAPI + +// timeBeginPeriod and al are defined in mmsystem.h +#include <mmsystem.h> + -- 2.34.1
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public