-
Notifications
You must be signed in to change notification settings - Fork 1
/
matrix-panilux_Prefix.pch
executable file
·89 lines (53 loc) · 1.26 KB
/
matrix-panilux_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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//
// Prefix header for all source files of the 'Packages' target in the 'Ivanhoe' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
#ifndef MAC_OS_X_VERSION_10_6
#define MAC_OS_X_VERSION_10_6 1060
#endif
// Types
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_60
#ifndef NSINTEGER_DEFINED
#define NSINTEGER_DEFINED
#ifdef __LP64__ || NS_BUILD_32_LIKE_64
typedef long NSInteger;
typedef unsigned long NSUInteger;
#define NSIntegerMin LONG_MIN
#define NSIntegerMax LONG_MAX
#define NSUIntegerMax ULONG_MAX
#else
typedef int NSInteger;
typedef unsigned int NSUInteger;
#define NSIntegerMin INT_MIN
#define NSIntegerMax INT_MAX
#define NSUIntegerMax UINT_MAX
#endif
#endif // NSINTEGER_DEFINED
#define numberWithInteger numberWithInt
#define integerValue intValue
typedef float CGFloat;
#endif
// Arithmetics
#ifndef _CGFloatRound
#if defined(__LP64__) && __LP64__
#define _CGFloatRound round
#else
#define _CGFloatRound roundf
#endif
#endif
#ifndef _CGFloatFloor
#if defined(__LP64__) && __LP64__
#define _CGFloatFloor floor
#else
#define _CGFloatFloor floorf
#endif
#endif
#ifndef _CGFloatCeil
#if defined(__LP64__) && __LP64__
#define _CGFloatCeil ceil
#else
#define _CGFloatCeil ceilf
#endif
#endif