Merge commit #47157

------------------------------------------------------------------------
r47157 | pierre | 2020-10-23 12:25:44 +0200 (Fri, 23 Oct 2020) | 1 line

 Switch OpenBSD libc version of geterrnolocation from libcerrno lib C variable to _libc___errno function use
------------------------------------------------------------------------
--- Merging r47157 into '.':
U    rtl/bsd/sysos.inc
--- Recording mergeinfo for merge of r47157 into '.':
 U   .

git-svn-id: branches/fixes_3_2@48012 -
This commit is contained in:
pierre 2021-01-03 15:16:34 +00:00
parent 2270d5c655
commit 679c1c9199

View File

@ -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}