@julliard Could you please take a look at this build fix. It should be included in Wine 8.0 release.
The extra ifdefs are ugly, it should be possible to solve this in a cleaner way.
Note that in general, fixing compiler warnings is not in scope for code freeze.