--- a/UnixOperatingSystem.st Thu Nov 08 17:00:23 2007 +0100
+++ b/UnixOperatingSystem.st Fri Nov 09 13:18:32 2007 +0100
@@ -6735,7 +6735,7 @@
noOfIf := 0.
%{
-#if defined(SIOCGIFADDR)
+#if !defined(__osx__) && defined(SIOCGIFADDR) && defined(SIOCGIFCONF)
int afinet_socket = -1;
struct ifconf ifc;
@@ -6783,7 +6783,6 @@
** Iterate of the list of the system's netif. Find all
** active interfaces and their ethernet addresses
*/
-
countOfIf = 0;
for (i=0, ifr = ifc.ifc_req; i < n_ifs; i++, ifr++) {
@@ -12537,7 +12536,7 @@
!UnixOperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.241 2007-07-16 20:23:00 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.242 2007-11-09 12:18:32 cg Exp $'
! !
UnixOperatingSystem initialize!