1.
#ifdef xxx ... #endif
2.
#if defined xxx ... #else ... #endif
3.
#if defined(xxx) xxx #elif defined(xxx) xxx #else xxx #endif