diff --git a/React/Base/RCTUtils.m b/React/Base/RCTUtils.m index cb5fdaca75..7c59b94755 100644 --- a/React/Base/RCTUtils.m +++ b/React/Base/RCTUtils.m @@ -810,7 +810,7 @@ static void RCTGetRGBAColorComponents(CGColorRef color, CGFloat rgba[4]) default: { -#ifdef RCT_DEBUG +#if RCT_DEBUG //unsupported format RCTLogError(@"Unsupported color model: %i", model); #endif diff --git a/React/CxxBridge/RCTCxxBridge.mm b/React/CxxBridge/RCTCxxBridge.mm index 01dda38962..efc8a30589 100644 --- a/React/CxxBridge/RCTCxxBridge.mm +++ b/React/CxxBridge/RCTCxxBridge.mm @@ -654,7 +654,7 @@ struct RCTInstanceCallback : public InstanceCallback { NSArray *moduleDataById = [self registerModulesForClasses:modules]; if (lazilyDiscovered) { -#ifdef RCT_DEBUG +#if RCT_DEBUG // Lazily discovered modules do not require instantiation here, // as they are not allowed to have pre-instantiated instance // and must not require the main queue.