[Mingw-w64-public] patch: add timeapi.h

2022-01-01 Thread Michel Zou
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 Date: Sat, 1 Jan 2022 10:16:11 +0100 Subject: [PATCH] add timeapi.h --- mingw-w64-headers

[Mingw-w64-public] add ERROR_COMMITMENT_MINIMUM

2022-01-01 Thread Michel Zou
hi again, here is a patch to add a missing error enum value From f1df4612417fc006f479e71ac1ebc6a70d6fee11 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Sat, 1 Jan 2022 11:28:45 +0100 Subject: [PATCH] add ERROR_COMMITMENT_MINIMUM --- mingw-w64-headers/include/winerror.h | 1 + 1 file changed,

Re: [Mingw-w64-public] [PATCH 2/2] Add other defines to ks.h

2022-01-01 Thread LIU Hao
在 2022-01-01 03:38, Biswapriyo Nath 写道: This seems to cause a build failure in mpv as reported here https://sourceforge.net/p/mingw-w64/discussion/723797/thread/c7085ad79b/ Will removing duplicates from 'ks.h' be a solution? I can see such definitions in 'ksmedia.h', but they are not available

Re: [Mingw-w64-public] [PATCH 2/2] Add other defines to ks.h

2022-01-01 Thread Biswapriyo Nath
> Will removing duplicates from 'ks.h' be a solution? That's what I am thinking of. If I take a random symbol from that commit (e.g. KSCATEGORY_TOPOLOGY) it is defined in ksmedia.h in Microsoft Windows SDK, _not_ in ks.h. But I am not sure why author added that in ks.h. _

Re: [Mingw-w64-public] [PATCH] crt: Add fallback _vscprintf_emu code for __ms_vsnprintf()

2022-01-01 Thread Pali Rohár
On Wednesday 29 December 2021 22:35:08 LIU Hao wrote: > 在 2021-12-23 22:20, Pali Rohár 写道: > > Original MSVC 6.0 msvcrt.dll library does not provide _vscprintf() > > function. Therefore usage of snprintf() with this DLL library cause > > application crash. Add simple fallback implementation of _vsc

Re: [Mingw-w64-public] [PATCH] crt: Add fallback _vscprintf_emu code for __ms_vsnprintf()

2022-01-01 Thread Pali Rohár
On Friday 31 December 2021 00:30:37 Jacek Caban wrote: > On 12/29/21 16:52, Martin Storsjö wrote: > > On Wed, 29 Dec 2021, LIU Hao wrote: > > > > > 在 2021-12-23 22:20, Pali Rohár 写道: > > > > Original MSVC 6.0 msvcrt.dll library does not provide _vscprintf() > > > > function. Therefore usage of snp

Re: [Mingw-w64-public] patch: add timeapi.h

2022-01-01 Thread LIU Hao
在 1/1/22 5:21 PM, Michel Zou 写道: > diff --git a/mingw-w64-headers/include/timeapi.h > b/mingw-w64-headers/include/timeapi.h > new file mode 100644 > index 0..5ac5a9d77 > --- /dev/null > +++ b/mingw-w64-headers/include/timeapi.h > @@ -0,0 +1,11 @@ > +/** > + * This file has no copyright ass