Ignore:
Timestamp:
Jan 18, 2018, 11:54:13 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Build under Lazarus 1.8.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Modules/GCC/UModuleGCC.pas

    r73 r74  
    66
    77uses
    8   Classes, SysUtils, UModularSystem, UProducerGCC, UTargetGCC;
     8  Classes, SysUtils, UModularSystem, UProducerGCC, UTargetGCC, UCompilerAPI;
    99
    1010type
     
    4343begin
    4444  Target := TTargetGCC.Create;
     45  with TCompilerAPI(API) do begin
     46    RegisterTarget(TTargetGCC);
     47  end;
    4548  inherited;
    4649end;
     
    4851procedure TModuleGCC.DoUninstall;
    4952begin
     53  with TCompilerAPI(API) do begin
     54    UnregisterTarget(TTargetGCC);
     55  end;
    5056  inherited;
    5157end;
Note: See TracChangeset for help on using the changeset viewer.