Explorar o código

* fixed sinlen

git-svn-id: trunk@2688 -
marco %!s(int64=19) %!d(string=hai) anos
pai
achega
103830cd59
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      rtl/unix/sockets.pp

+ 4 - 0
rtl/unix/sockets.pp

@@ -21,6 +21,10 @@ Uses UnixType;
 {$DEFINE SOCK_HAS_SINLEN}               // BSD definition of scoketaddr
 {$endif}
 
+{$ifdef Darwin}
+{$DEFINE SOCK_HAS_SINLEN}               // BSD definition of scoketaddr
+{$endif}
+
 {$i unxsockh.inc}
 {$i socketsh.inc}