https://bugs.winehq.org/show_bug.cgi?id=43777
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 59365 --> https://bugs.winehq.org/attachment.cgi?id=59365 Patch to fix the issue
(In reply to Fabian Maurer from comment #1)
Created attachment 59291 [details] Don't redefine REFERENCE_TIME
Can't test the issue since I don't use such an old gcc. Does the attached patch help?
This version of your patch works. You have to put the ifndef, define and endif in a cpp_quote.