Here's a message I just sent to CodeWarrior Support at Palm. Can anyone on this
mailing list answer this question?
-adam
----- Original Message -----
From: Adam Dingle
To: CodeWarrior Support
Sent: Wednesday, May 12, 1999 11:53 AM
Subject: does CodeWarrior predefine a preprocessor symbol when building for
Palm?
Dear Palm/Metrowerks,
the CodeWarrior documentation section "Predefined Symbols" lists a symbol
"macintosh" which CodeWarrior defines when compiling code for a Mac. Does
CodeWarrior for PalmOS define a similar symbol (such as "palm") when compiling
code for a PalmOS device? I write code which may be compiled for several
different platforms, and I would like to be able to use an #ifdef to
conditionally include certain headers when compiling for PalmOS only.
Thanks -
-adam