-
Notifications
You must be signed in to change notification settings - Fork 13
/
DW.GlobalDefines.inc
34 lines (26 loc) · 1.14 KB
/
DW.GlobalDefines.inc
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
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ }
{*******************************************************}
// This include file contains defines that are application-wide for DelphiWorlds code
// All DelphiWorlds code makes use of scoped enumerations
{$SCOPEDENUMS ON}
// Special define to indicate the code is being compiled for an actual Mac device
{$IF Defined(MACOS) and not Defined(IOS)}
{$DEFINE MACDEV}
{$ENDIF}
// Special defines to indicate the code is being compiled for an actual iOS device, or for simulator
{$IF Defined(IOS)}
{$IF Defined(CPUARM)}
{$DEFINE IOSDEV}
{$ELSE}
{$DEFINE IOSSIM}
{$ENDIF}
{$ENDIF}
// Indicates whether the app is being compiled for a mobile platform
{$IF Defined(IOS) or Defined(ANDROID) or Defined(Android64) } // Android64 by Omar
{$DEFINE MOBILE}
{$ENDIF}