Keil™, An ARM® Company

Cx51 User's Guide

#undef

The #undef directive un-defines a macro name.

#undef macro-name

#undef causes the previously defined macro macro-name to no longer be defined as a macro. If macro-name is not defined, #undef is ignored. Predefined macros are not affected by #undef.