JUCE_MAC macro is not defined


#1

Hi,

I am trying to use JUCE_MAC macro, but weirdly it does not seem that Introjucer defines it…
That is at least what I see in the generated Xcode project.
And when using it, I also see that in mac, the code #defined in this macro is not compiled.

Am I missing something?
Thx

Nathaniel


#2

You can see where it’s defined in juce_TargetPlatform.h. It uses other compiler flags to detect whether you’re using OSX