Hi Adam,

The CodeWarrior Metrowerks Standard Library does not define a Palm symbol. A
thought occurs to me though, <Pilot.h> uses __PALMOS_TRAPS__; you could
conceivably use this as the #ifdef symbol to include those relevant headers
for Palm. However, someone from Palm will be able to better tell you whether
this would be a Good Idea or Bad Idea.

Rgds,
JK Lam
Metrowerks Technical Support

----- Original Message -----
From: Adam Dingle <[EMAIL PROTECTED]>
To: Palm Developers Forum List <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 1999 1:54 PM
Subject: Fw: does CodeWarrior predefine a preprocessor symbol when building
for Palm?


> 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
>
>
>

Reply via email to