forked from theos/theos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrefix.pch
33 lines (27 loc) · 911 Bytes
/
Prefix.pch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifdef DEBUG
#define __DEBUG__
#endif
#ifdef __OBJC__
// This block shouldn't really be in this prefix header, but we can't remove it without breaking
// pretty much everyone's projects. THEOS_LEAN_AND_MEAN allows for this block to be skipped on a
// per-project or per-developer basis. This is always skipped when building Swift.
#if !defined(THEOS_LEAN_AND_MEAN) && !defined(THEOS_SWIFT)
#import <_Prefix/NullabilityCompat.h>
#import <Foundation/Foundation.h>
#ifdef TARGET_OS_SIMULATOR
#define _THEOS_IS_SIMULATOR TARGET_OS_SIMULATOR
#else
#define _THEOS_IS_SIMULATOR TARGET_IPHONE_SIMULATOR
#endif
#if TARGET_IPHONE || _THEOS_IS_SIMULATOR
#import <UIKit/UIKit.h>
#import <_Prefix/IOSWebKitCompatHacks.h>
#endif
#if TARGET_MACOSX
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
#endif
#import <_Prefix/IOSMacros.h>
#endif
#import <_Prefix/HBLog.h>
#endif