فهرست منبع

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 -

pierre 4 سال پیش
والد
کامیت
679c1c9199
1فایلهای تغییر یافته به همراه1 افزوده شده و 9 حذف شده
  1. 1 9
      rtl/bsd/sysos.inc

+ 1 - 9
rtl/bsd/sysos.inc

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