File: Clipper.inc

package info (click to toggle)
doublecmd 1.1.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,968 kB
  • sloc: pascal: 374,335; sh: 1,180; ansic: 724; makefile: 132; python: 52; xml: 16
file content (39 lines) | stat: -rw-r--r-- 1,273 bytes parent folder | download
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

///////////////////////////////////////////////////////////////////////////////
//USER DEFINED PREPROCESSOR DIRECTIVES
///////////////////////////////////////////////////////////////////////////////

//For user defined Z-coordinates, defined in Clipper's 'SetZ' callback event
{.$DEFINE USINGZ}

///////////////////////////////////////////////////////////////////////////////
//COMPILER DIFINED PREPROCESSOR DIRECTIVES (ie. do not touch ;))
///////////////////////////////////////////////////////////////////////////////

{$IFDEF FPC}
  {$DEFINE INLINING}
  {$MODE DELPHI}
{$ELSE}
  {$IF COMPILERVERSION < 14}
    Requires Delphi version 6 or above.
  {$IFEND}
  {$IF COMPILERVERSION >= 18}             //Delphi 2007
    {$DEFINE RECORD_METHODS}              
    {$DEFINE STRICT}
    {$IF COMPILERVERSION >= 19}           //Delphi 2009  
      //While "inlining" is supported from D2005, it's buggy (see QC41166) until D2009
      {$DEFINE INLINING}
      {$IF COMPILERVERSION >= 23}           //Delphi XE2+
        {$DEFINE XPLAT_GENERICS}
        {$DEFINE ROUNDINGMODE}   
        {$IF COMPILERVERSION >= 24}         //Delphi XE3+
          {$LEGACYIFEND ON}
        {$IFEND}
      {$IFEND}
    {$IFEND}
  {$IFEND}
{$ENDIF}

{$IFDEF DEBUG}
  {$UNDEF INLINING}
{$ENDIF}