mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 13:09:09 +02:00
* flock will get a pascal implementation on Solaris
git-svn-id: trunk@2490 -
This commit is contained in:
parent
9005442652
commit
cf4b0a2185
@ -16,9 +16,7 @@
|
||||
type filedesarray=array[0..1] of cint;
|
||||
|
||||
{$ifdef solaris}
|
||||
{ libucb needs libelf }
|
||||
{$linklib elf}
|
||||
Function fpFlock (fd,mode : longint) : cint; cdecl; external 'ucb' name 'flock';
|
||||
Function fpFlock (fd,mode : longint) : cint;{$ifdef IN_SYSTEM}forward;{$endif IN_SYSTEM}
|
||||
{$else solaris}
|
||||
Function fpFlock (fd,mode : longint) : cint; cdecl; external clib name 'flock';
|
||||
{$endif solaris}
|
||||
|
Loading…
Reference in New Issue
Block a user