How to make code specific to one OS not be included


#1

I'm working on getting my application running on Windows 7/8, now that OS X development has completed.   I have some OS X-specific snippets.  how do I make sure they don't compile when i'm working on the project on my windows box? 

they are: 

OSStatus GetDefaultInputDeviceName(CFStringRef *name) {} 

type functions, due to an issue of the juce audioDeviceManager forcing the sample rate of your external audio interface to be changed to. 


#2

Use JUCE_MAC or JUCE_WINDOWS

Rail