http://bugs.winehq.org/show_bug.cgi?id=58584
--- Comment #9 from Danny Waser waser@waser.tech --- The above commit is wrong on so many levels.
Use https://gitlab.com/wasertech/wine/-/merge_requests/1/diffs to see an up to date diff with upstream's master branch.
If I can make it work, I can look into creating a proper PR.