Skip to content

Commit

Permalink
Delete unused RCT_ENABLE_LOADING_FROM_PACKAGER (facebook#43677)
Browse files Browse the repository at this point in the history
Summary:

Remove `RCT_ENABLE_LOADING_FROM_PACKAGER` from `RCTDefines`, as it is not referenced anywhere and does nothing.

Changelog: [Internal]

Reviewed By: hoxyq

Differential Revision: D55421282
  • Loading branch information
robhogan authored and facebook-github-bot committed Mar 27, 2024
1 parent 59a43e6 commit d29572d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/react-native/React/Base/RCTDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(<React/RCTPackagerConnection.h>))
#define RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION 1
Expand Down

0 comments on commit d29572d

Please sign in to comment.