Compatibility to build on the last macOS 32 bit system with its last compatible Xcode (#2844)

* Compatibility to build on the last macOS 32 bit system with its last compatible Xcode

* Code review: Compatibility declarations

* compatibility with `make`

* Code review: headers

* Avoiding dummy NSImageSymbolConfiguration implementation

* clang-format

* Don't force-include compat header

* Remove compat header from pch header

Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
Antoine Cœur
2022-04-25 04:34:30 +08:00
committed by GitHub
parent 07dc81170a
commit 7f9264940e
9 changed files with 101 additions and 146 deletions

View File

@@ -8,6 +8,8 @@
- (NSImage*)imageWithColor:(NSColor*)color;
/* macOS < 11 compatibility */
+ (NSImage*)systemSymbol:(NSString*)symbolName withFallback:(NSString*)fallbackName;
+ (NSImage*)largeSystemSymbol:(NSString*)symbolName withFallback:(NSString*)fallbackName;
@end