Hmmm, theoretically speaking you _could_ include PalmOS.h in your windows code as well...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Ardiri Sent: Tuesday, November 11, 2003 1:34 PM To: Palm Developer Forum Subject: Re: Define OS > 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 PalmOS.h:#ifndef __PALMOS_H__ PalmOS.h:#define __PALMOS_H__ try checking for that? most of the recent SDK's define this. --- Aaron Ardiri [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php [profile] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
