Since AppConfig.h is pumped through Rez while include_juce_audio_plugin_client_AU.r is compiled, so will all the files included therein, e.g. in the user-defined code section. Because Rez has very limited parsing, I need to skip some code in the headers.
Until now, I inserted #define UseExtendedThingResource 1 into include_juce_audio_plugin_client_AU.r, which did the trick for me, but that happens to be eliminated each time Projucer saves the project.
Is there a preprocessor define, e.g.
__REZ__ or the like, that would tell whether a file is compiled by Rez?