* fixed linux unit for 1.1 compilers

This commit is contained in:
peter 2002-09-09 17:25:40 +00:00
parent 242a9f8937
commit 6a33275e5c
2 changed files with 50 additions and 38 deletions

View File

@ -1,4 +1,10 @@
uses linux,lincd;
uses
{$ifdef ver1_0}
linux,
{$else}
unix,
{$endif}
lincd;
Function ReadCDTOC(Device : String; Var CDTOC : Array of TTocEntry) : Integer;

View File

@ -18,7 +18,13 @@ unit lincd;
interface
uses linux;
uses
{$ifdef ver1_0}
linux
{$else}
unix
{$endif}
;
{ ---------------------------------------------------------------------
cdrom.h header translation.
@ -1099,7 +1105,7 @@ Function DetectCD : String;
Var
I,J,L : Integer;
S,RS : String;
S : String;
begin
Result:='';