Making symbols undefined in C and C++
About this task
The #undef
preprocessing directive undefines symbols that are
previously defined by using the #define
directive. This directive has the same
effect as the following preprocessing switch:
/U<name>
To undefine a symbol with #undef
:
Procedure
- In the Set pre-processor options window, click New icon.
- In the Type column, select Undefine.
- In the Value field, type the name of the symbol you want to undefine.
- Click Finish.