http://bugs.winehq.org/show_bug.cgi?id=20714
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2010-03-12 21:23:43 --- (In reply to comment #13)
The real solution is to probably rewrite that whole section of ifenum.c, but I don't have the time allocated to look into doing so myself.
The patch I uploaded does this in a cleaner way, in that it relies on configure checks to determine whether the feature is present before attempting to use it. That makes it a little less prone to breaking due to accidental effects such as order. Could someone please try it and report back?