At 06:22 AM 11/11/2003, Anders Rahm-Nilzon wrote:
What flag do I use to check if I'm running on PalmOS or Windows

#ifdef <FLAG?>
  some Palm specific code
#elseif  _Win32
  some Windows specific code
#endif

CodeWarrior defines __PALMOS_TRAPS__ as "1" when its compiling Palm OS 68K code.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to