http://bugs.winehq.org/show_bug.cgi?id=32369
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2012-12-06 04:40:33 CST --- (In reply to comment #9)
(In reply to comment #8)
Created attachment 42725 [details] patch
Does this patch work for you?
Yes, this patch fixes fallocate() detection here (HAVE_FALLOCATE is not defined by configure). Perhaps _GNU_SOURCE should be defined by a generic API detector, since wine/port.h forces its definition anyway?
Well, wine/port.h states that it needs that for pread and pwrite but for them the standard configure check seems to suffice.
It would guard us against the next function that needs it but on the other hand, this is only the second function and I don't see many more coming.
There's also value in being made aware of broken systems ;)