Subject: Re: which define to denote Darwin/MacOS?
To: Lubomir Sedlacik <>
From: Georg Schwarz <>
List: tech-pkg
Date: 10/23/2005 02:10:05
> > you can see for yourself:
> >  gcc -E -dM - < /dev/null

thanks for the hint. Looks like __APPLE__ is the closest one can get.

> also note that it's compiler (more precise preprocessor) specific.

true, but chances are that certain defines are available with several
compilers on a given platform.

Georg Schwarz  +49 178 8545053