Pike v8.0 release 1738

Directive #undefine


Directive #undefine

#undef
#undefine

Description

This removes the effect of a #define, all subsequent occurances of the undefined identifier will not be replaced by anything.

Note

Note that when undefining a macro, you just give the identifer, not the arguments.

Example

// Strip debug #define werror(X ...) 0 #include "/home/someone/experimental/stuff.h" #undef werror

See also

#define, defined()