I have a compile options file included in my AppConfig.h User area, i.e.
//============================================================================== // [BEGIN_USER_CODE_SECTION] // (You can add your own code in this section, and the Projucer will not overwrite it) #include “MyJuceOptions.h" // [END_USER_CODE_SECTION]
So "MyJuceOptions.h"apparently gets referenced before all of the Juce #defines, so you cannot use #if JUCE_WINDOWS inside it, for example.
I now need to do something differently inside that file depending on Windows vs. Mac.
Any #define I can use in there, at that point? Is there something that tells me I am inside Visual Studio vs. Xcode? Or something else that I can use to differentiate Windows vs. Mac? I hate to try to make another high-level file to specify platform, or make different options files for different platforms…