[PATCH 2/2] Enable XTRANS_SEND_FDS on Solaris too.
Alan Coopersmith
alan.coopersmith at oracle.com
Tue Nov 12 07:58:33 PST 2013
On 11/11/13 03:38 PM, Keith Packard wrote:
> Alan Coopersmith <alan.coopersmith at oracle.com> writes:
>
>> +/* Enable general extensions on Solaris. */
>> +#ifndef __EXTENSIONS__
>> +# undef __EXTENSIONS__
>> +#endif
>
> This doesn't make sense to me -- if __EXTENSIONS__ isn't defined, then
> undefine __EXTENSIONS__ ?
It's what autoconf puts in the autogenerated config.h.in - when I build
on Solaris, it converts it in the *-config.h files to:
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
And on other platforms it should become
/* # undef __EXTENSIONS__ */
like all the other macros in the *-config.h that aren't set for a platform.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list