Every compiler has a macro like __BORLANDC__
defined that enables the programmer to activate or deactivate certain behaviour or workarounds.
Is such a macro defined while IntelliSense parses files so I can activate workarounds for bugs?
#if defined __INTELLISENSE__
#define SOMETHING
#endif
Yes. It's called __INTELLISENSE__
, as you've guessed.
#ifdef __INTELLISENSE__
// ...
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With