Skip to content

Commit 510cc0c

Browse files
christophpurrermeta-codesync[bot]
authored andcommitted
Add missing RCT_REMOVE_LEGACY_COMPONENT_INTEROP guard to LegacyViewManagerInteropComponentDescriptor (#57094)
Summary: Pull Request resolved: #57094 The iOS `LegacyViewManagerInteropComponentDescriptor.h` was missing the `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` guard that the rest of the `legacyviewmanagerinterop` library already uses, so enabling that flag failed to compile. Add the guard for consistency. Changelog: [iOS][Fixed] - Add missing `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` guard to `LegacyViewManagerInteropComponentDescriptor` Reviewed By: fkgozali Differential Revision: D107717474 fbshipit-source-id: bf87c619cf510e9922330bd35ac29926298d51f0
1 parent aee4a25 commit 510cc0c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/react-native/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#pragma once
99

10+
#ifndef RCT_REMOVE_LEGACY_COMPONENT_INTEROP
11+
1012
#include <react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.h>
1113
#include <react/renderer/core/ConcreteComponentDescriptor.h>
1214

@@ -33,3 +35,5 @@ class LegacyViewManagerInteropComponentDescriptor final
3335
};
3436

3537
} // namespace facebook::react
38+
39+
#endif // RCT_REMOVE_LEGACY_COMPONENT_INTEROP

0 commit comments

Comments
 (0)