Fix detection error in configure.ac

Alexandre Julliard julliard at winehq.org
Tue Jan 22 04:26:43 CST 2008


Thomas Zimmermann <kuhundbaer at web.de> writes:

> 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.

Since the corresponding code won't build either, it's actually a feature
that the configure check fails.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list