{$IFDEF MOBILE}
  {$MODE DELPHI}
{$ENDIF}
{$MACRO ON}
{$PACKRECORDS C}
{$DEFINE USE_INLINE}
{$MINENUMSIZE 4}

{$IFDEF CPUx86_64}
  {$IFNDEF WINDOWS}
    {$PIC ON}
  {$ENDIF}
{$ENDIF}

{$IF ( FPC_VERSION < 2 ) or ( ( FPC_VERSION = 2 ) and ( FPC_RELEASE < 4 ) )}
  {$INFO 'Update your FreePascal, please.'}
{$IFEND}

{$DEFINE X_TRUE := 1}
{$DEFINE X_FALSE := 0}

{$IF (( FPC_VERSION >= 2 ) and ( FPC_RELEASE >= 5 )) or (FPC_VERSION >= 3) }
  {$DEFINE NAME_MANGLING}
{$IFEND}
