mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +02:00
amicommon/sysfile.inc: use THandle instead of LongInt
git-svn-id: trunk@31174 -
This commit is contained in:
parent
51a6c217c7
commit
c704b4b918
@ -299,7 +299,7 @@ end;
|
||||
using the same method on all Amiga flavors, but if anyone has
|
||||
a problem with it, disable this define to revert to the old
|
||||
method and report the issue. (KB) }
|
||||
function do_filesize(handle : longint) : longint;
|
||||
function do_filesize(handle : THandle) : longint;
|
||||
var
|
||||
{$IFDEF ASYS_FILESIZE_NO_DOUBLE_SEEK}
|
||||
fib: PFileInfoBlock;
|
||||
@ -413,7 +413,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function do_isdevice(handle: longint): boolean;
|
||||
function do_isdevice(handle: thandle): boolean;
|
||||
begin
|
||||
if (handle=StdOutputHandle) or (handle=StdInputHandle) or
|
||||
(handle=StdErrorHandle) then
|
||||
|
Loading…
Reference in New Issue
Block a user