correct macro definition/undefinition logic (stubbed)