diff options
Diffstat (limited to 'ULibc.pas')
| -rw-r--r-- | ULibc.pas | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,7 @@ interface const GLIBC_LIB = 'libc.so.6'; DL_LIB = 'libdl.so.2'; + PTHREAD_LIB = 'libpthread.so.0'; type {$IFDEF KYLIX} @@ -850,6 +851,9 @@ function access(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_ function euidaccess(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'euidaccess'; +type pthread_t = {$ifdef cpu64}QWord{$else}DWord{$endif}; + +function pthread_self: pthread_t; cdecl; external PTHREAD_LIB name 'pthread_self'; implementation |
