mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 19:33:33 +02:00
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:
parent
48c3d01369
commit
a3555a84c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user