diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2024-12-22 23:39:42 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2024-12-22 23:39:42 +0100 |
| commit | 6475cd8e422b88e8d0fa3499195e6392bd3bbf12 (patch) | |
| tree | 47a3e35742789b118a7f285778f6cab6af597707 /ULibc.pas | |
| parent | 7943ac1f6c2fa954c1e526169014e0680d1593d1 (diff) | |
| download | tuxcmd-6475cd8e422b88e8d0fa3499195e6392bd3bbf12.tar.xz | |
Drop Kylix support
A piece of history, will be remembered.
Diffstat (limited to 'ULibc.pas')
| -rw-r--r-- | ULibc.pas | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -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()^; |
