Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macx/compat: fix build of compat.m shim with Sierra SDK.
The Sierra SDK seems to require an id<NSApplicationDelegate> for its setDelegate: call. To accomplish this, split off the existing adoption of NSFileManagerDelegate into a seperate class extension. Then, add another class extension for conforming to the NSApplicationDelegate protocol. Both of them are gated with MAC_OS_X_VERSION_MAX_ALLOWED to allow building with older SDKs.
- Loading branch information