mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 19:49:29 +02:00
* fixed linux unit for 1.1 compilers
This commit is contained in:
parent
242a9f8937
commit
6a33275e5c
@ -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;
|
||||
|
||||
|
@ -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:='';
|
||||
|
Loading…
Reference in New Issue
Block a user