1 2 3 4 5 6
#ifndef A_DEF #error "A_DEF not defined" #endif #ifdef B_DEF #error "B_DEF must not be defined" #endif