The reason that it's probably showing up is because some of the Palm OS
Support sources use certain files from the MacOS MSL. For example, the
simulator targets call MSL's <stdio.h> in ShellCmdApp.cp.

JK Lam
Metrowerks Technical Support

----- Original Message -----
From: Adam Dingle <[EMAIL PROTECTED]>
To: Palm Developers Forum List <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 1999 4:56 PM
Subject: Fw: CodeWarrior for PalmOS predefines symbol "macintosh"


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