iphlpapi Solaris fixes
Alexandre Julliard
julliard at winehq.org
Tue Jul 1 22:04:03 CDT 2003
Robert Lunnon <bob at yarrabee.net.au> writes:
> @@ -787,7 +789,11 @@ DWORD getInterfaceMtuByName(const char *
> if ((ioctl(fd, SIOCGIFMTU, &ifr)))
> ret = ERROR_INVALID_DATA;
> else {
> +#if !defined sun
> *mtu = ifr.ifr_mtu;
> +#else
> + *mtu=ifr.ifr_metric;
> + #endif
You should add a configure check for the structure field.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list