AmigaOS4: OS4 needs socketbase and interface as threadvars (like all other Amiga-systems)

git-svn-id: trunk@33848 -
This commit is contained in:
marcus 2016-05-29 15:55:45 +00:00
parent a756609a27
commit c4a0c08c8d

View File

@ -143,7 +143,7 @@ function ReleaseCopyOfSocket(s: LongInt location 'd0'; id: LongInt location 'd1'
{$else AMIGAOS4}
var
threadvar
SocketBase: PLibrary;
ISocket: PInterface;
@ -339,10 +339,8 @@ begin
end;
initialization
{$ifndef AMIGAOS4}
AddThreadInitProc(@BSDSocketOpen);
AddThreadExitProc(@BSDSocketClose);
{$endif}
BSDSocketOpen;
finalization