iphlpapi Solaris fixes
Robert Lunnon
bob at yarrabee.net.au
Thu Jul 3 05:39:40 CDT 2003
On Wednesday 02 July 2003 13:04, Alexandre Julliard wrote:
> 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.
I can, but this goes way back to SunOS, its not likely to change and is active
only for Sun, but if it will make you happy.
More information about the wine-devel
mailing list