configure: Workaround for broken linux header(__u64 depends on __GNUC__)

Detlef Riekenberg at
Tue Dec 23 07:35:27 CST 2008

Various linux headers depend on gcc, so wine will not compile with a
different compiler (pcc as example)

The main issue are the typedefs for __u64 and __s64 in <linux/types.h>

The header was fixed on 02.may.2008 for 2.6.26:;a=commitdiff;h=edfa5cfa3dc5bfa95e6aa82a2b8904e7f6c35ed7

Does wine can use a workaround, or does wine depend on a workaround in
every compiler?

With the attached patch, configure works with the newest pcc:

The gcc folks already discuss the need to add a new define to identify
as __GNUC__ is really used to detect the gcc implementation/extensions
of c

By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-configure-Workaround-for-broken-linux-header.txt
Type: application/mbox
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list