mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 22:47:59 +02:00
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:
parent
2270d5c655
commit
679c1c9199
@ -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