From 8769378e0da4ff1616fb1416080ea21d77e15db8 Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Sun, 31 Mar 2024 08:46:03 -0700 Subject: [PATCH] Delete unused RCT_ENABLE_LOADING_FROM_PACKAGER (#43677) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43677 Remove `RCT_ENABLE_LOADING_FROM_PACKAGER` from `RCTDefines`, as it is not referenced anywhere and does nothing. Changelog: [Internal] Reviewed By: hoxyq, realsoelynn Differential Revision: D55421282 fbshipit-source-id: ae29a8a421a6cc23d863b489eae2175392f684cd --- packages/react-native/React/Base/RCTDefines.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/react-native/React/Base/RCTDefines.h b/packages/react-native/React/Base/RCTDefines.h index 598d178874413f..ed038680a4146c 100644 --- a/packages/react-native/React/Base/RCTDefines.h +++ b/packages/react-native/React/Base/RCTDefines.h @@ -91,15 +91,6 @@ #define RCT_DEV_MENU RCT_DEV #endif -/** - * Controls for the core packgaer loading functionality - * By default, this inherits from RCT_DEV_MENU but it also gives the capability to - * enable the packager functionality without the rest of the dev tools from RCT_DEV_MENU - */ -#ifndef RCT_ENABLE_LOADING_FROM_PACKAGER -#define RCT_ENABLE_LOADING_FROM_PACKAGER RCT_DEV_MENU -#endif - #ifndef RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION #if RCT_DEV && (__has_include("RCTPackagerConnection.h") || __has_include()) #define RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION 1