2
0

PCH fixes for macOS/iOS switching.

This commit is contained in:
Maarten Billemont
2017-04-05 12:53:56 -04:00
parent d440f2bcac
commit ec0712350f
5 changed files with 81 additions and 78 deletions

View File

@@ -7,10 +7,10 @@
#ifdef __OBJC__
#if TARGET_OS_MAC
#import <Cocoa/Cocoa.h>
#else
#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
#elif TARGET_OS_OSX
#import <Cocoa/Cocoa.h>
#endif
#import <CoreData/CoreData.h>
@@ -18,12 +18,12 @@
#import <Crashlytics/Crashlytics.h>
#endif
#if TARGET_OS_MAC
#import "MPTypes.h"
#import "MPMacConfig.h"
#else
#if TARGET_OS_IOS
#import "MPTypes.h"
#import "MPiOSConfig.h"
#elif TARGET_OS_OSX
#import "MPTypes.h"
#import "MPMacConfig.h"
#endif
#else