Browse Source

MorphOS: fixed sockets inside threads

git-svn-id: trunk@33727 -
marcus 9 years ago
parent
commit
a25663d64f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-extra/src/amiga/sockets.pp

+ 1 - 1
packages/rtl-extra/src/amiga/sockets.pp

@@ -339,7 +339,7 @@ begin
 end;
 end;
 
 
 initialization
 initialization
-  {$ifdef AMIGA68K}
+  {$ifndef AMIGAOS4}
   AddThreadInitProc(@BSDSocketOpen);
   AddThreadInitProc(@BSDSocketOpen);
   AddThreadExitProc(@BSDSocketClose);
   AddThreadExitProc(@BSDSocketClose);
   {$endif}
   {$endif}