Skip to content

Commit a7e31e3

Browse files
committed
Restrict spec command to Windows only
The spec command uses reads dprojs, which we only do in windows. So we disable the command when in linux This is now compiling under D12, there is a strange generics error in d13
1 parent 6f300d7 commit a7e31e3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tms/src/Commands/Commands.Spec.pas

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ implementation
1818
{$ENDIF}
1919
Deget.CoreTypes, BBYaml.Writer, XMLDoc, XMLIntf;
2020

21+
{$IFDEF MSWINDOWS}
22+
2123
type
2224
TPackageData = class
2325
public
@@ -816,5 +818,11 @@ destructor TPackageData.Destroy;
816818
Data.Free;
817819
inherited;
818820
end;
821+
{$ELSE}
822+
procedure RegisterSpecCommand;
823+
begin
824+
825+
end;
826+
{$ENDIF}
819827

820828
end.

0 commit comments

Comments
 (0)