Is there a way to detect if Arduino, Stino or another IDE/toolchain is in use? I've noticed some irritating differences between the Arduino IDE and Stino (mainly around including certain header files). These are likely bugs that need following up with one or both of the parties, but in the meantime, I would like my code to compile with both of them without editing. This is because I do not want to lock any users out of using my code.

Are there any macros or similar that are readily available (as in, require no modification of the toolchain or IDE) that would allow me to detect which is in use?

For example, in many libraries, there is this snippet:

#if ARDUINO &gt;= 100
  #include "Arduino.h"
#else
  #include "WProgram.h"
#endif


However both Stino and Arduino define this.
As Stino claims to use the installed Arduino IDE you already have, which means you can not differentiate at compile time.