discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about #define


From: Ludovic Marcotte
Subject: Re: Question about #define
Date: Fri, 18 Feb 2005 21:30:45 -0500

Hi Benoit,

For my app I need to know if it run on Mac OS X or on GNUstep. First I wanted to determine it at runtime but it seems more easy to do it at compilation time (well it's open source after all).

I download the source code of GNUmail and look how it is done. I found a lot of "#ifdef MACOSX" but I never found where is done the #define MACOSX.

        Where is it done ???

In the Project Builder / Xcode project file (compiler flags).

Ludo
--
Live as if you were to die tomorrow.
Learn as if you were to live forever.
 - Gandhi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]