diff --git a/compiler.inc b/compiler.inc index 75d6e4f..66dd255 100644 --- a/compiler.inc +++ b/compiler.inc @@ -157,7 +157,7 @@ // Delphi Seattle (Win32/Win64/OSX/iOS32/iOS64/Android) {$IFDEF VER300} {$DEFINE DELPHI23} - {$DEFINE DELPHI_XE10} + {$DEFINE DELPHI_10_0} {$DEFINE DELPHI_SEATTLE} {$UNDEF DELPHI_XX} {$ENDIF} @@ -165,7 +165,7 @@ // Delphi Berlin (Win32/Win64/OSX/iOS32/iOS64/Android) {$IFDEF VER310} {$DEFINE DELPHI24} - {$DEFINE DELPHI_XE11} + {$DEFINE DELPHI_10_1} {$DEFINE DELPHI_BERLIN} {$UNDEF DELPHI_XX} {$ENDIF} @@ -173,23 +173,32 @@ // Delphi Tokyo (Win32/Win64/OSX/iOS32/iOS64/Android/Linux64) {$IFDEF VER320} {$DEFINE DELPHI25} - {$DEFINE DELPHI_XE12} + {$DEFINE DELPHI_10_2} {$DEFINE DELPHI_TOKYO} {$UNDEF DELPHI_XX} {$ENDIF} -// Delphi Rio (Win32/Win64/OSX/iOS32/iOS64/Android/Linux64) +// Delphi Rio (Win32/Win64/OSX/iOS32/iOS64/Android/Android64/Linux64) {$IFDEF VER330} {$DEFINE DELPHI26} - {$DEFINE DELPHI_XE13} + {$DEFINE DELPHI_10_3} {$DEFINE DELPHI_RIO} {$UNDEF DELPHI_XX} {$ENDIF} +// Delphi Sydney (Win32/Win64/OSX64/iOS32/iOS64/Android/Android64/Linux64) +{$IFDEF VER340} + {$DEFINE DELPHI27} + {$DEFINE DELPHI_10_4} + {$DEFINE DELPHI_SYDNEY} + {$UNDEF DELPHI_XX} +{$ENDIF} + {$IFDEF DELPHI_XX} ERROR: Unknown compiler please update compiler.inc file {$ENDIF} +{$IFDEF DELPHI27} {$DEFINE DELPHI27_UP} {$ENDIF} {$IFDEF DELPHI26} {$DEFINE DELPHI26_UP} {$ENDIF} {$IFDEF DELPHI25} {$DEFINE DELPHI25_UP} {$ENDIF} {$IFDEF DELPHI24} {$DEFINE DELPHI24_UP} {$ENDIF} @@ -216,6 +225,7 @@ {$IFDEF DELPHI2} {$DEFINE DELPHI2_UP} {$ENDIF} {$IFDEF DELPHI1} {$DEFINE DELPHI1_UP} {$ENDIF} +{$IFDEF DELPHI27_UP} {$DEFINE DELPHI26_UP} {$ENDIF} {$IFDEF DELPHI26_UP} {$DEFINE DELPHI25_UP} {$ENDIF} {$IFDEF DELPHI25_UP} {$DEFINE DELPHI24_UP} {$ENDIF} {$IFDEF DELPHI24_UP} {$DEFINE DELPHI23_UP} {$ENDIF} @@ -242,10 +252,11 @@ {$IFDEF DELPHI3_UP} {$DEFINE DELPHI2_UP} {$ENDIF} {$IFDEF DELPHI2_UP} {$DEFINE DELPHI1_UP} {$ENDIF} -{$IFDEF DELPHI26_UP} {$DEFINE DELPHI_XE13_UP} {$DEFINE DELPHI_RIO_UP} {$ENDIF} -{$IFDEF DELPHI25_UP} {$DEFINE DELPHI_XE12_UP} {$DEFINE DELPHI_TOKYO_UP} {$ENDIF} -{$IFDEF DELPHI24_UP} {$DEFINE DELPHI_XE11_UP} {$DEFINE DELPHI_BERLIN_UP} {$ENDIF} -{$IFDEF DELPHI23_UP} {$DEFINE DELPHI_XE10_UP} {$DEFINE DELPHI_SEATTLE_UP} {$ENDIF} +{$IFDEF DELPHI27_UP} {$DEFINE DELPHI_10_4_UP} {$DEFINE DELPHI_SYDNEY_UP} {$ENDIF} +{$IFDEF DELPHI26_UP} {$DEFINE DELPHI_10_3_UP} {$DEFINE DELPHI_RIO_UP} {$ENDIF} +{$IFDEF DELPHI25_UP} {$DEFINE DELPHI_10_2_UP} {$DEFINE DELPHI_TOKYO_UP} {$ENDIF} +{$IFDEF DELPHI24_UP} {$DEFINE DELPHI_10_1_UP} {$DEFINE DELPHI_BERLIN_UP} {$ENDIF} +{$IFDEF DELPHI23_UP} {$DEFINE DELPHI_10_0_UP} {$DEFINE DELPHI_SEATTLE_UP} {$ENDIF} {$IFDEF DELPHI22_UP} {$DEFINE DELPHI_XE8_UP} {$ENDIF} {$IFDEF DELPHI21_UP} {$DEFINE DELPHI_XE7_UP} {$ENDIF} {$IFDEF DELPHI20_UP} {$DEFINE DELPHI_XE6_UP} {$ENDIF}