[Xquartz-dev] Changed references of __DARWIN__ to __APPLE__

Jeremy Huddleston jeremyhu at berkeley.edu
Wed Dec 12 10:19:53 PST 2007


__APPLE__ is set in the compiler's built-in CPPFLAGS, so it's safer.   
There were places that #ifdef __DARWIN__ existed but weren't  
triggered.  So far nothing really bad, though.  The only ones I found  
were minor.  One was in x11proto (and I think the only piece of code  
using that conditional was compiled with -D__DARWIN__), but it's not  
really critical anyways... just means some variables might start out  
not initialized to 0... and the other was in lndir (using lndir still  
linked .DS_Store).

--Jeremy

On Dec 12, 2007, at 06:03, Peter O'Gorman wrote:

> Hi Jeremy,
>
> Were there places that __DARWIN__ was not being defined but was  
> used? I
> thought CPPFLAGS had -D__DARWIN__ in configure.ac?
>
> Just curious,
> Peter
> -- 
> Peter O'Gorman
> http://pogma.com
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071212/bd147a94/smime.bin


More information about the Xquartz-dev mailing list