Checking for Mac OS X
Do I have any Mac OS X/C/C++ savvy readers? If so, I’d appreciate it very much if you could drop me a comment about how to check for the OS X platform (there’s got to be a platform-specific #define, but a quick google search didn’t dig it up).
APPLE and _MACH. See http://developer.apple.com/technotes/tn2002/tn2071.html#Section10