Add AppKit prevention guards to modules that shouldn't import it

This commit is contained in:
Zorg committed 2017-01-16 21:17:25 -05:00
1 parent a39023e95b
commit c56694382e
30 files changed
+119

No files matched your search

+4
View File
@@ -7,6 +7,10 @@
#import "SUOperatingSystem.h"
#ifdef _APPKITDEFINES_H
#error This is a "core" class and should NOT import AppKit
#endif
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101000
@interface NSProcessInfo ()
- (NSOperatingSystemVersion)operatingSystemVersion;