diff --git a/React/Base/RCTUtils.m b/React/Base/RCTUtils.m index cb5fdaca75025f..7c59b947555865 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 01dda389626756..efc8a30589190c 100644 --- a/React/CxxBridge/RCTCxxBridge.mm +++ b/React/CxxBridge/RCTCxxBridge.mm @@ -654,7 +654,7 @@ - (void)installExtraJSBinding 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.