mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +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';
|
function geterrnolocation: Plibcint; cdecl;external clib name '__error';
|
||||||
{$else}
|
{$else}
|
||||||
{$ifdef OpenBSD}
|
{$ifdef OpenBSD}
|
||||||
|
function geterrnolocation: Plibcint; cdecl;external clib name '__errno';
|
||||||
var libcerrno : libcint; cvar;
|
|
||||||
|
|
||||||
function geterrnolocation: Plibcint; cdecl;
|
|
||||||
|
|
||||||
begin
|
|
||||||
geterrnolocation:=@libcerrno;
|
|
||||||
end;
|
|
||||||
|
|
||||||
{$else}
|
{$else}
|
||||||
{$endif}
|
{$endif}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
Loading…
Reference in New Issue
Block a user