----- Original Message -----
From: Adam Dingle
To: CodeWarrior Support
Sent: Wednesday, May 12, 1999 2:55 PM
Subject: CodeWarrior for PalmOS predefines symbol "macintosh"


I'm using CodeWarrior for PalmOS release 5 with patch 1 on Windows NT 4.0.

CodeWarrior for PalmOS predefines the symbol "macintosh", which is supposed to
be defined only when compiling for a Mac.  To see this, add the following source
file to any CodeWarrior project and preprocess it:

== begin foo.c ==
#ifdef macintosh
mac
#else
nomac
#endif
== end foo.c ==

The output is:

mac

-adam


Reply via email to