LCL: disable declaration of TTime and TDate for fpc version 2.4.2 and newer. In newer fpc versions those types are declared in the system unit.

fixes issue #15474 
patch by: Sven Barth

git-svn-id: trunk@27838 -
This commit is contained in:
vincents 2010-10-24 19:38:33 +00:00
parent 48c3d01369
commit a3555a84c4

View File

@ -74,10 +74,10 @@ type
TWinControlClass = class of TWinControl;
TControlClass = class of TControl;
//{$if (FPC_VERSION <= 2) and (FPC_RELEASE < 5)}
{$if (FPC_VERSION <= 2) and (FPC_RELEASE <= 4) and (FPC_PATCH < 2)}
TDate = type TDateTime;
TTime = type TDateTime;
//{$endif}
{$endif}
// ToDo: move this to a message definition unit
TCMMouseWheel = record