As @bigh_29 has mentioned, using environment variables to define or undefine a preprocessor.
What he suggested the way to undefine a preprocessor is actually /UACTIVATE.
This way, any preprocessor matching ACTIVATE will be negated and compiler wouldn't go through your #if ACTIVATE #endif enclosure.