[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fix



Previously Marco d'Itri wrote:
> +	if (IPv4or6 == AF_UNSPEC) {
> +		struct utsname un;
> +		if (uname(&un) == 0 && strncmp("2.2.", un.release, 4) == 0)
> +			IPv4or6 = AF_INET;
> +	}

Shouldn't this be wrapped in #ifdef linux?

Wichert.

-- 
  _________________________________________________________________
 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org                    http://www.wiggy.net/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: