Skip to content

Commit

Permalink
Remove CoreFeatures.h include (#6875)
Browse files Browse the repository at this point in the history
This PR removes `#include <react/utils/CoreFeatures.h>` in
ReanimatedModuleProxy.cpp which breaks build on RN 0.77.

See also facebook/react-native#45626
  • Loading branch information
tomekzaw committed Jan 13, 2025
1 parent 95dc926 commit 8a18aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <react/renderer/scheduler/Scheduler.h>
#include <react/renderer/uimanager/UIManagerBinding.h>
#include <react/renderer/uimanager/primitives.h>
#if REACT_NATIVE_MINOR_VERSION >= 73
#if REACT_NATIVE_MINOR_VERSION == 73 && defined(RCT_NEW_ARCH_ENABLED)
#include <react/utils/CoreFeatures.h>
#endif // REACT_NATIVE_MINOR_VERSION
#endif // RCT_NEW_ARCH_ENABLED
Expand Down

0 comments on commit 8a18aff

Please sign in to comment.