|
@@ -1265,7 +1265,7 @@ type
|
|
|
end;
|
|
|
|
|
|
// *BSD isn't flagged for "weak" support in 3.2.2
|
|
|
-{$if defined(BSD) and defined (VER3_2_2)}
|
|
|
+{$if defined(BSD) and (FPC_FULLVERSION<30300)}
|
|
|
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';
|