What is the conditional compiler directive binded to Delphi XE4 compiler? I though something like this:
{$ifdef VerDXE4}
code segment compiled only by the Delphi XE4 compiler
{$endif}
You can use VER250
:
{$IFDEF VER250}
...
{$ENDIF}
Alternatively, you can use the CompilerVersion
constant:
{$IF (CompilerVersion >= 25) and (CompilerVersion < 26)}
...
{$IFEND}