VSoftTechnologies/DUnitX — pull request #5 by jpluimers (2013-08-18 12:47:58+00:00)
Title: Now sources should compile for other versions of Delphi than XE2 and XE3...

Now sources should compile for other versions of Delphi than XE2 and XE3.
Tested in XE4.

Changed logic for scoped Windows and Forms unit names to use CompilerVersion, not VER### defines.
If Windows or Forms is not present in a uses list they are of course omitted (:

{$IFDEF MSWINDOWS}
{$if CompilerVersion < 23 }
Forms,
Windows,
{$else}
Vcl.Forms,
WinAPI.Windows, // Delphi XE2 (CompilerVersion 23) added scopes in front of unit names
{$endif}
{$ENDIF}