Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include autolinkin.h in OnLoad.cpp only if it exists (#47875)
Summary: Pull Request resolved: #47875 The old architecture looks broken because in the OnLoad.cpp file we try to include the autolinking.h header which is only generated when the New Architecture is enabled. This fix guards the include and the usage of the function provided by the autolinking so that the old architecture should work as well. ## Changelog [Internal] - Include autolinkin.h in OnLoad.cpp only if it exists Reviewed By: blakef Differential Revision: D66295318 fbshipit-source-id: 18461e6b70ac92af57b805bef51c0df49db02283
- Loading branch information