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

2013-11-12 Thread Keith Packard
Alan Coopersmith writes: > 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. Right, of course. Perhaps I can blame that on a lack of sleep :-) -- keith.pack...@intel.com pgp_d8F0nZs2K.pgp Des

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

2013-11-12 Thread Alan Coopersmith
On 11/11/13 03:38 PM, Keith Packard wrote: Alan Coopersmith 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

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

2013-11-12 Thread Daniel Stone
Hi, On 11 November 2013 23:38, Keith Packard wrote: > Alan Coopersmith 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__

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

2013-11-12 Thread Keith Packard
Alan Coopersmith 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__ ? -- keith.pack...@intel.com pgpjFgI6KlxS_.pgp Description: PG

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

2013-11-08 Thread Alan Coopersmith
Requires passing through the __EXTENSIONS__ and _XOPEN_SOURCE defines in order to expose the msg_control members in struct msghdr. Signed-off-by: Alan Coopersmith --- configure.ac|3 ++- include/dix-config.h.in |8 2 files changed, 10 insertions(+), 1 deletion(-) di