6.6 #else

Syntax

#else

Description

All the following lines until the corresponding #endif are conditionally assembled if no previous branch in a compound #if … #elif … sequence has been evaluated to true.

Example

#if defined(__ATmega48__) || defined(__ATmega88__) 
// code specific for these parts 
#elif defined (__ATmega169__) 
// code specific for ATmega169 
#else 
#error "Unsupported part:" __PART_NAME__ 
#endif // part specific code