mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 06:09:39 +02:00
Switch OpenBSD libc version of geterrnolocation from libcerrno lib C variable to _libc___errno function use
git-svn-id: trunk@47157 -
This commit is contained in:
parent
dc547b1426
commit
51d6622148
@ -32,15 +32,7 @@ function geterrnolocation: Plibcint; cdecl;external clib name '__errno';
|
||||
function geterrnolocation: Plibcint; cdecl;external clib name '__error';
|
||||
{$else}
|
||||
{$ifdef OpenBSD}
|
||||
|
||||
var libcerrno : libcint; cvar;
|
||||
|
||||
function geterrnolocation: Plibcint; cdecl;
|
||||
|
||||
begin
|
||||
geterrnolocation:=@libcerrno;
|
||||
end;
|
||||
|
||||
function geterrnolocation: Plibcint; cdecl;external clib name '__errno';
|
||||
{$else}
|
||||
{$endif}
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user