mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 05:59:34 +02:00
AmigaOS4: OS4 needs socketbase and interface as threadvars (like all other Amiga-systems)
git-svn-id: trunk@33848 -
This commit is contained in:
parent
a756609a27
commit
c4a0c08c8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user