For the Metrowerks compiler you can use:

#ifdef __MWERKS__

#endif

Note that __MWERKS__ is defined as the version of the compiler (e.g. 2.4
compilers would be 0x2400).

-- jkl

----- Original Message -----
From: "Phillip Streck" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 12:42 PM
Subject: detecting compiler


> how can i detect which compiler someone is using, more speciffically gcc or cw
>
> thanks
>
> Philip Streck
> Akron General Medical Center
> Information Systems
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to