mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This function replaces the usage of an Objective-C `#import` statement with `#include` in `react/renderer/scheduler/SynchronousEventBeat.cpp`. Clang seems to have no problems with `#import` being used in CPP files, but it was causing errors in MSVC. ([it has a different purpose](https://docs.microsoft.com/en-us/cpp/preprocessor/hash-import-directive-cpp?view=vs-2019) on Windows) ## Changelog Changelog: [Internal][Changed] - Fabric: Replace #import statement in SynchronousEventBeat Pull Request resolved: https://github.com/facebook/react-native/pull/29885 Test Plan: This CPP file now compiles in MSVC Reviewed By: sammy-SC Differential Revision: D23591933 Pulled By: shergin fbshipit-source-id: ee2cb8152f37e5ee09500af621a57b59d5a18400