summaryrefslogtreecommitdiff
path: root/rtl/unix/bunxh.inc
diff options
context:
space:
mode:
authormicha <micha@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-11-01 16:32:12 +0000
committermicha <micha@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-11-01 16:32:12 +0000
commitbbe3db7e821adcfce17093771220b40ea71a8873 (patch)
tree049bce5dbba5d4f4637845974840596f0aaca934 /rtl/unix/bunxh.inc
parent2cbae614c387881473ef41d14b503ba1be1d949f (diff)
downloadfpc-bbe3db7e821adcfce17093771220b40ea71a8873.tar.gz
* fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@5152 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/unix/bunxh.inc')
-rw-r--r--rtl/unix/bunxh.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/rtl/unix/bunxh.inc b/rtl/unix/bunxh.inc
index 78b03436ec..1b0928f7e6 100644
--- a/rtl/unix/bunxh.inc
+++ b/rtl/unix/bunxh.inc
@@ -85,11 +85,7 @@ Type TGrpArr = Array [0..0] of TGid; { C style array workarounds}
Function FpPWrite (fd : cInt; buf:pChar; nbytes : TSize; offset:Toff): TSSize;
function FpWriteV (fd: cint; const iov : piovec; iovcnt : cint):TSSize;
-{$ifndef linux}
Function FpLseek (fd : cInt; offset : TOff; whence : cInt): TOff; external name 'FPC_SYSC_LSEEK';
-{$else linux}
- Function FpLseek (fd : cInt; offset : TOff64; whence : cInt): TOff64; external name 'FPC_SYSC_LSEEK';
-{$endif linux}
Function FpTime (var tloc : TTime): TTime; external name 'FPC_SYSC_TIME';
Function FpFtruncate (fd : cInt; flength : TOff): cInt; external name 'FPC_SYSC_FTRUNCATE';
Function FPSigaction (sig: cInt; act : pSigActionRec; oact : pSigActionRec): cint; external name 'FPC_SYSC_SIGACTION';