Index: src/OFDNSResolverSettings.m ================================================================== --- src/OFDNSResolverSettings.m +++ src/OFDNSResolverSettings.m @@ -68,10 +68,11 @@ #else # define HOSTS_PATH @"/etc/hosts" # define RESOLV_CONF_PATH @"/etc/resolv.conf" #endif +#ifndef OF_WII static OFString * domainFromHostname(OFString *hostname) { if (hostname == nil) return nil; @@ -92,10 +93,11 @@ return nil; return [hostname substringFromIndex: pos + 1]; } } +#endif #if !defined(OF_WII) && !defined(OF_MORPHOS) static OFString * obtainHostname(void) {