From 5418ccf31ebfe3857cfa784367f22eab253e1f22 Mon Sep 17 00:00:00 2001 From: marcoonthegit Date: Sat, 18 Jun 2022 14:52:24 +0200 Subject: [PATCH] * fix bootstrapping *BSD with 3.2.2, which isn't flagged as supporting weakexternal on those targets --- rtl/inc/heaptrc.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/inc/heaptrc.pp b/rtl/inc/heaptrc.pp index 76f1bd000b..43c31fa2fe 100644 --- a/rtl/inc/heaptrc.pp +++ b/rtl/inc/heaptrc.pp @@ -1261,7 +1261,7 @@ type end; // *BSD isn't flagged for "weak" support in 3.2.2 -{$if defined(BSD) and defined (VER3_2)} +{$if defined(BSD) and defined (VER3_2_2)} function _dladdr(Lib:pointer; info: Pdl_info): Longint; cdecl; external LibDL name 'dladdr'; {$else} function _dladdr(Lib:pointer; info: Pdl_info): Longint; cdecl; weakexternal LibDL name 'dladdr';