Selaa lähdekoodia

* fixed sinlen

git-svn-id: trunk@2688 -
marco 19 vuotta sitten
vanhempi
commit
103830cd59
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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}