Heads up: This is a weird question.
I\'ve got some really useful macros that I like to use to simplify some logging. For example I can do Log(@\"My message wi
You can use some sort of macro conditional:
#ifndef OBJECTIVE_C
#define self 0
#define _cmd ""
#endif
I'm not quite sure what you should define self
and _cmd
to, those were just guesses.
I'm not sure if there is a predefined macro that you can to check if you are compiling in Objective C so you may need to define OBJECTIVE_C
manually as part of your build.