CW defines a define called _MWERKS if compiling for arm or thumb it also defines __arm and __thumb respectively
On 7/8/08, Ryan Rix <[EMAIL PROTECTED]> wrote: > Hello all, > > I am currently trying to port a POSIX library to PalmOS static library. > > I want to keep as much of the library as possible compiling in any > environment > and under any system so that I have the option to fire the changes upstream. > > Currently the only system dependent things (memory allocation and types and > the like) are handled in a single header file containing a number of #if > #elif blocks. > I have been trying to find if there is a compiler macro that can be trusted > across CW and PODS? > I have tried __PALMOS__ and the like, but to no avail. It seems, however that > CW defines __MACOS__ but that has its own specific types and the like not > related to PalmOS. > > Any ideas? > > Ryan > > -- > Thanks and best regards, > Ryan Rix > TamsPalm - The PalmOS Blog > > And I'm-a dancin' with myself > > > > > > -- > For information on using the ACCESS Developer Forums, or to unsubscribe, > please see http://www.access-company.com/developers/forums/ > -- ---- Best Regards, Dmitry Grinberg (847) 226 9295 -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
