Keil™, An ARM® Company

Cx51 User's Guide

#ifdef

The #ifdef directive is a special case of the #if directive that tests a name to determine if it is defined.

#ifdef name

This directive is equivalent to:

#if defined(name)