I am working on a projest that runs on both Windows and Mac platforms. This is my first time trying to code anything that supports multiple platforms. What I need to know is how do you check in code which platform the user is running? I need to write some stuff that will be Windows specific to check some registry entries and only want that code to run if the OS is a Windows platform. Is there an easy way to do this?
edit: I am using MS VC++ 6.0