1、#ifdef 实现 与 或#if (defined SIMULATION) && (defined _FMM_LOG)#endif#if (!defined A) || (!defined B) //... #endif