Remove OSPortabilityDefs.h

The macOS support that used it has been removed for a while
This commit is contained in:
Cameron Gutman
2020-11-01 16:50:02 -06:00
parent c3ba447372
commit 42f29c44e6
11 changed files with 13 additions and 41 deletions
+2 -3
View File
@@ -21,12 +21,11 @@
// HACK: Avoid calling [UIApplication delegate] off the UI thread to keep
// Main Thread Checker happy.
if ([NSThread isMainThread]) {
_appDelegate = (AppDelegate *)[[OSApplication sharedApplication] delegate];
_appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
}
else {
dispatch_sync(dispatch_get_main_queue(), ^{
self->_appDelegate = (AppDelegate *)[[OSApplication sharedApplication] delegate];
self->_appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
});
}