Alan Coopersmith <[email protected]> writes:

> When building on Solaris with _XOPEN_SOURCE set to a recent XPG release,
> <stdlib.h> and other core headers start including <sys/regset.h>, which
> has a bunch of unfortunately named macros such as "CS", "ES", etc. for
> x86 & x64 registers which clash with existing variable & struct member
> names in Xorg - so #undef these so they don't interfere with our use.
>
> (Yes, have filed a bug against the system headers for exposing these,
>  but this solves the problem for building on existing releases.)

Yuck. But, it looks like it's all carefully under #ifdef __sun, so if it
works for you...

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgp2OskEzw_PS.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to