Skip to content

Commit

Permalink
Delete unused RCT_ENABLE_LOADING_FROM_PACKAGER (#43677)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
robhogan authored and facebook-github-bot committed Mar 31, 2024
1 parent fa4bfde commit 8769378
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 8769378

Please sign in to comment.