{$IFDEF VER130} // Delphi 5
{$DEFINE D5}

{$ENDIF}
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF CompilerVersion >= 14}
{$DEFINE D6+} // Delphi 6 or higher
{$IFEND}

{$ENDIF}
{$IF CompilerVersion >= 15}
{$DEFINE D7+} // Delphi 7 or higher
{$IFEND}

{$IF CompilerVersion >= 20}
{$DEFINE D2009+} // Delphi 2009 or higher
{$WARN SYMBOL_PLATFORM OFF}
{$IFEND}

{$IF CompilerVersion >= 21}
{$DEFINE D2010+} // Delphi 2010 or higher
{$IFEND}

{$IF CompilerVersion >= 23}
{$DEFINE XE2+} // Delphi XE2 or higher
{$IFEND}

{$IF CompilerVersion >= 36}
{$DEFINE D12+} // Delphi 12 or higher
{$IFEND}

// Define DESIGN_TIME for Win32 package
{$IFDEF IMPLICITBUILDING}
{$IFNDEF WIN64}
{$DEFINE DESIGN_TIME}
{$ENDIF}
{$ENDIF}

{$IFDEF WIN64}
{$HPPEMIT '#pragma link "PDFiumVcl.a"'}
{$ELSE}
{$HPPEMIT '#pragma link "PDFiumVcl.lib"'}
{$ENDIF WIN64}

