On 11/11/13 03:38 PM, Keith Packard wrote:
Alan Coopersmith <[email protected]> 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-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[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