Procházet zdrojové kódy

Fix compilation of heaptrc unit using fixes branch bsd compiler

Pierre Muller před 1 rokem
rodič
revize
feb7d54553
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      rtl/inc/heaptrc.pp

+ 1 - 1
rtl/inc/heaptrc.pp

@@ -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';