Overview
Comment: | Fix Wii build |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
25f3799288c9246567a3f7d99ad12bda |
User & Date: | js on 2020-12-22 21:47:07 |
Other Links: | manifest | tags |
Context
2020-12-22
| ||
22:56 | configure: Style change: Don't indent cases check-in: 1e740abed1 user: js tags: trunk | |
21:47 | Fix Wii build check-in: 25f3799288 user: js tags: trunk | |
20:15 | Fix files accidentally being executable check-in: 55fdd76bb7 user: js tags: trunk | |
Changes
Modified src/OFDNSResolverSettings.m from [d77fb49b97] to [d89d6f4c03].
︙ | ︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 79 | # define HOSTS_PATH @"AmiTCP:db/hosts" # define RESOLV_CONF_PATH @"AmiTCP:db/resolv.conf" #else # define HOSTS_PATH @"/etc/hosts" # define RESOLV_CONF_PATH @"/etc/resolv.conf" #endif static OFString * domainFromHostname(OFString *hostname) { if (hostname == nil) return nil; @try { | > | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | # define HOSTS_PATH @"AmiTCP:db/hosts" # define RESOLV_CONF_PATH @"AmiTCP:db/resolv.conf" #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; @try { |
︙ | ︙ | |||
90 91 92 93 94 95 96 97 98 99 100 101 102 103 | if (pos == OF_NOT_FOUND) return nil; return [hostname substringFromIndex: pos + 1]; } } #if !defined(OF_WII) && !defined(OF_MORPHOS) static OFString * obtainHostname(void) { char hostname[256]; | > | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | if (pos == OF_NOT_FOUND) return nil; return [hostname substringFromIndex: pos + 1]; } } #endif #if !defined(OF_WII) && !defined(OF_MORPHOS) static OFString * obtainHostname(void) { char hostname[256]; |
︙ | ︙ |