diff --git a/lcl/controls.pp b/lcl/controls.pp index 58581c4689..bb5e1f54fb 100644 --- a/lcl/controls.pp +++ b/lcl/controls.pp @@ -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