Anders Rahm-Nilzon <[EMAIL PROTECTED]> wrote: > What flag do I use to check if I'm running on PalmOS or Windows
s/running on/compiling for/ presumably. See http://prc-tools.sourceforge.net/faq/ ; and you'll find something more or less similar in the CodeWarrior documentation if that's what you're using. Or just predefine something suitable in your project's build systems: after all, your makefiles and their equivalents select different compilers depending on what you're building, so they can certainly select different -D options and/or prefix files too. John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
