I'm writing some semi-portable code and want to be able to detect when I'm compiling for iPhone. So I want something like #ifdef IPHONE_SDK....
Presumably xCode defines something, but I can't see anything under project properties, and google isn't much help.