[geos-devel] Predefined macros on Mac OS X

William Kyngesburye woklist at kyngchaos.com
Sat Jan 30 12:34:55 EST 2010

As far as I know, it's not a standard OS X macro.  I think some *projects* have defined it themselves in configuration, not realizing that __APPLE__ exists, or because 'OSX' makes more sense to them.

On Jan 30, 2010, at 11:10 AM, Mateusz Loskot wrote:

> Hi,
> Regarding this commit:
> http://trac.osgeo.org/geos/changeset/2894
> It's unclear where the __OSX__ macro comes from.
> None of Mac OS X documents for developer specify it as a
> predefined macro on OSX. Anyway, I asked on SO and perhaps it will help:
> http://stackoverflow.com/questions/2166483/which-macro-to-wrap-mac-os-x-specific-code-in-c-c
> Best regards,
> -- 
> Mateusz Loskot, http://mateusz.loskot.net
> Charter Member of OSGeo, http://osgeo.org
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel

William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin

More information about the geos-devel mailing list