Sfoglia il codice sorgente

Amiga: disable inlining in fpsockets
the linker (vlink) throws an error on the Default() call in NetAddr()

Marcus Sackrow 1 mese fa
parent
commit
4168976a42
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      packages/fcl-net/src/fpsockets.pp

+ 4 - 0
packages/fcl-net/src/fpsockets.pp

@@ -27,6 +27,10 @@ interface
 {$DEFINE HAVE_SELECT_CALL}
 {$ENDIF}
 
+{$IfDef HASAMIGA}
+{$inline off}  // inlining on Amiga currently does not work, results in linker error on Default() in NetAddr();
+{$EndIf}
+
 {$IFDEF FPC_DOTTEDUNITS}
 uses
   {$IfDef WINDOWS}WinApi.WinSock2, {$ENDIF}