Subject: Re: which define to denote Darwin/MacOS?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 10/23/2005 02:03:19
--3ioKt2kN+IccB5F4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 23, 2005 at 12:53:24AM +0200, Georg Schwarz wrote:
> Which define should one use to denote Darwin/Mac OS (equivalently to
> __linux__, __sun, or __sgi)?
> Is there a __darwin__ or __Darwin__ or something like that?

you can see for yourself:
 gcc -E -dM - < /dev/null

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--3ioKt2kN+IccB5F4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFDWtNHiwjDDlS8cmMRAi5gAJ9/uBjaP4Msw78tK1zoTEUrb53ZuwCeP5CI
uXo23GN/EzwB0g7tNd3tvac=
=D85i
-----END PGP SIGNATURE-----

--3ioKt2kN+IccB5F4--