You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for i:= 1 to 12 do begin
BESENLocaleFormatSettings.ShortMonthNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.ShortMonthNames[i]{$else}SysUtils.ShortMonthNames[i]{$endif};
BESENLocaleFormatSettings.LongMonthNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.LongMonthNames[i]{$else}SysUtils.LongMonthNames[i]{$endif};
end;
for i:=1 to 7 do begin
BESENLocaleFormatSettings.ShortDayNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.ShortDayNames[i]{$else}SysUtils.ShortDayNames[i]{$endif};
BESENLocaleFormatSettings.LongDayNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.LongDayNames[i]{$else}SysUtils.LongDayNames[i]{$endif};
end;
The text was updated successfully, but these errors were encountered:
Hello,
currently besen does not compile for XE8 & MacOS target.
Needed changes:
Besen.inc:
{$ifdef ver290} // XE8
{$define DelphiXE7}
{$define DelphiXEAndUp}
{$define DelphiXE2AndUp}
{$define DelphiXE3AndUp}
{$define DelphiXE4AndUp}
{$define DelphiXE5AndUp}
{$define DelphiXE6AndUp}
{$define DelphiXE7AndUp}
{$define Delphi2009AndUp}
{$endif}
{$ifdef ver300} // upcoming XE9
{$define DelphiXE7}
{$define DelphiXEAndUp}
{$define DelphiXE2AndUp}
{$define DelphiXE3AndUp}
{$define DelphiXE4AndUp}
{$define DelphiXE5AndUp}
{$define DelphiXE6AndUp}
{$define DelphiXE7AndUp}
{$define Delphi2009AndUp}
{$endif}
BesenLocale.pas for MacOS:
for i:= 1 to 12 do begin
BESENLocaleFormatSettings.ShortMonthNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.ShortMonthNames[i]{$else}SysUtils.ShortMonthNames[i]{$endif};
BESENLocaleFormatSettings.LongMonthNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.LongMonthNames[i]{$else}SysUtils.LongMonthNames[i]{$endif};
end;
for i:=1 to 7 do begin
BESENLocaleFormatSettings.ShortDayNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.ShortDayNames[i]{$else}SysUtils.ShortDayNames[i]{$endif};
BESENLocaleFormatSettings.LongDayNames[i]:={$ifdef DelphiXE2AndUp}SysUtils.FormatSettings.LongDayNames[i]{$else}SysUtils.LongDayNames[i]{$endif};
end;
The text was updated successfully, but these errors were encountered: