C++ preprocessor directive to identify OSX
While it is a trivial problem to change a macro each time I compile for a different platform, it would be nice to have a preprocessor directive do this for me. Can anyone help out here? What preprocessor directive would I use to identify that I'm compiling on/for OSX?
Thanks.
6 Windoze, 4 Linuxen & 4 OS X (Mac Pro 2.66 Ghz, 1 iBook, MBP 2.0, MB 2.0), Mac OS X (10.4.8), More iPods than people in my house