Directive #ifdef Directive #ifdef #ifdef Description Check whether an identifier is a macro. The directive #ifdef <identifier> is equivalent to #if defined(<identifier>) See also #if, #ifndef, defined