You've already forked lazarus-ccr
fpspreadsheet: Fix compilation of new Excel unit test for non-Windows systems.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -8,6 +8,7 @@ interface
|
||||
Will be skipped if Excel is not available.
|
||||
}
|
||||
|
||||
{$ifdef windows}
|
||||
uses
|
||||
// Not using Lazarus package as the user may be working with multiple versions
|
||||
// Instead, add .. to unit search path
|
||||
@ -61,8 +62,11 @@ type
|
||||
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
|
||||
implementation
|
||||
|
||||
{$ifdef windows}
|
||||
uses
|
||||
TypInfo, comobj;
|
||||
|
||||
@ -387,5 +391,7 @@ end;
|
||||
initialization
|
||||
RegisterTest(TSpreadExcelTests);
|
||||
|
||||
{$endif}
|
||||
|
||||
end.
|
||||
|
||||
|
Reference in New Issue
Block a user