[PATCH 2/2] Enable XTRANS_SEND_FDS on Solaris too.

Daniel Stone daniel at fooishbar.org
Tue Nov 12 04:57:20 PST 2013


Hi,

On 11 November 2013 23:38, Keith Packard <keithp at keithp.com> 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__ ?

The way *config.h.in works is that you place #undef TOKEN inside the
relevant file(s), and then an AC_DEFINE of TOKEN will turn that into
'#define TOKEN value'.  So it is actually exactly correct.

Cheers,
Daniel


More information about the xorg-devel mailing list