summaryrefslogtreecommitdiff
path: root/ULibc.pas
diff options
context:
space:
mode:
Diffstat (limited to 'ULibc.pas')
-rw-r--r--ULibc.pas27
1 files changed, 0 insertions, 27 deletions
diff --git a/ULibc.pas b/ULibc.pas
index 3c2a615..f7fa32f 100644
--- a/ULibc.pas
+++ b/ULibc.pas
@@ -30,12 +30,6 @@ const GLIBC_LIB = 'libc.so.6';
PTHREAD_LIB = 'libpthread.so.0';
type
-{$IFDEF KYLIX}
- DWORD = Cardinal;
- QWORD = Int64;
- LongWord = LongInt;
-{$ENDIF}
-
cUShort = Word;
cInt = LongInt;
cuInt = LongWord;
@@ -666,13 +660,8 @@ const
_MKNOD_VER_SVR4 = 2;
_MKNOD_VER = _MKNOD_VER_LINUX;
-{$IFNDEF KYLIX}
function stat64(const afile: PChar; buf: Pstat64): longint; cdecl; external GLIBC_LIB name 'stat64';
function lstat64(const path: PChar; buf: Pstat64): longint; cdecl; external GLIBC_LIB name 'lstat64';
-{$ELSE}
-function stat64(const afile: PChar; buf: Pstat64): longint;
-function lstat64(const path: PChar; buf: Pstat64): longint;
-{$ENDIF}
function statfs64(const path: PChar; buf: Pstatfs64): longint; cdecl; external GLIBC_LIB name 'statfs64';
@@ -932,22 +921,6 @@ implementation
uses SysUtils;
{$ENDIF}
-
-{$IFDEF KYLIX}
-function glibc__xstat64(ver: integer; const afile: PChar; buf: Pstat64): longint; cdecl; external GLIBC_LIB name '__xstat64';
-function glibc__lxstat64(ver: integer; const path: PChar; buf: Pstat64): longint; cdecl; external GLIBC_LIB name '__lxstat64';
-
-function stat64(const afile: PChar; buf: Pstat64): longint;
-begin
- Result := glibc__xstat64(_STAT_VER, afile, buf);
-end;
-
-function lstat64(const path: PChar; buf: Pstat64): longint;
-begin
- Result := glibc__lxstat64(_STAT_VER, path, buf);
-end;
-{$ENDIF}
-
function errno : error_t;
begin
Result := __errno_location()^;