Dmitry Dmitry - 1 year ago 178
Objective-C Question

Undefine a macro in Objective-C

How do I undefine a macro in Objective-C?

I have situation where a macro is defined automatically, but I want to undefine it manually. How do I do this?

#ifdef macro_name

Answer Source
#undef macro_name

is the directive of your dreams.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download