Fix detection error in

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

Thomas Zimmermann <kuhundbaer at> writes:

> this patch fixes a detection error in
> '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

More information about the wine-devel mailing list