Re: OSX Porting Problems

"Axel Dörfler" <[email protected]> Thu, 15 Mar 2007 16:22:25 +0100 CET
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <28117057909-BeMail@zon>
"Morgan Howe" <[email protected]> wrote:
> Ah, you are right.  I must have made a typo the first time I tried 
> it.  My
> first thought was
> #ifdef __BEOS__  || __APPLE__
> which it didn't seem to like.  I must have just missed something.

Don't expect too much logic from the preprocessor :-)
You would need to write the above as:
#if defined(__BEOS__) || defined(__APPLE__)

Bye,
   Axel.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV