Re: [Mingw-w64-public] [Patch] mmsystem: remove _WIN32 and WINVER checks

2023-04-29 Thread JonY via Mingw-w64-public
On 4/29/23 06:17, Biswapriyo Nath wrote: I was about to send my fix and lost the race :) I have attached my patch just for the record. It focuses on the cygwin errors only. Your patch looks good to me. Thank you. Done, pushed to master, and v11.x. v11.0.1 tagged. _

Re: [Mingw-w64-public] [Patch] mmsystem: remove _WIN32 and WINVER checks

2023-04-28 Thread Biswapriyo Nath
I was about to send my fix and lost the race :) I have attached my patch just for the record. It focuses on the cygwin errors only. Your patch looks good to me. Thank you. From 49b373fba7437f05954ce19306a557471c0bdd4a Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 29 Apr 2023 11:35:56 +

[Mingw-w64-public] [Patch] mmsystem: remove _WIN32 and WINVER checks

2023-04-28 Thread JonY via Mingw-w64-public
We don't really support WINVER 0x030a or 0x0400, so remove those checks. Likewise, the _WIN32 check is redundant since we lack any import libraries to support non A/W suffixed function calls. This should fix Cygwin w32api, tested locally. Attached patch OK? I plan to also backport this to v11.