https://bugs.winehq.org/show_bug.cgi?id=52645
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 71980 --> https://bugs.winehq.org/attachment.cgi?id=71980 patch
This patch should help. It won't work if the program depends on the flags this function accepts, but it's not just a stub either.