Fix detection error in configure.ac

Thomas Zimmermann kuhundbaer at web.de
Sun Jan 20 13:44:19 CST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

this patch fixes a detection error in configure.ac.

'Xrandr' and 'Xinerama' detection fails if GCC is set to Ansi mode.
The reason is the use of 'typeof' in the test. GCC does not support
this keyword when it is in Ansi mode. The patch solves that problem by
using __typeof__ instead. I tested the patch on my machine.

Changelog:
    configure.ac: Fix detection error when in Ansi mode

Regards, Thomas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHk6SS0pDUtJv9kIMRAkSsAKCjoq/B8kILl+NBu6dbeSP7Zb4QvwCfUELB
KyJn7XlfuX/wc1/YB6cebHI=
=HMQM
-----END PGP SIGNATURE-----

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Use-__typeof__-to-fix-detection-error-in-GCC-Ansi-mode.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080120/a4439baf/attachment.txt 


More information about the wine-patches mailing list