Undefine

(Project Properties window)

*.prj\COMPILE\Preprocessor\Undefine

Use this setting to undefine a macro.