Overview
Comment: | OFSystemInfo: Fix build on AmigaOS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
dce2ff272bae064294af6b370a050c9b |
User & Date: | js on 2022-08-07 16:14:05 |
Other Links: | manifest | tags |
Context
2022-08-07
| ||
16:51 | Fix compiling with --disable-files check-in: fa9d22b297 user: js tags: trunk | |
16:14 | OFSystemInfo: Fix build on AmigaOS check-in: dce2ff272b user: js tags: trunk | |
16:10 | OFINIFile: Remove dependency on support for files check-in: ddbeb14059 user: js tags: trunk | |
Changes
Modified src/OFSystemInfo.m from [a7f1b08bbe] to [9f029f0dfb].
︙ | ︙ | |||
511 512 513 514 515 516 517 | if (find_directory(B_USER_SETTINGS_DIRECTORY, 0, false, pathC, PATH_MAX) != B_OK) return nil; return [OFURL fileURLWithPath: [OFString stringWithUTF8String: pathC] isDirectory: true]; # elif defined(OF_AMIGAOS) | | | 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | if (find_directory(B_USER_SETTINGS_DIRECTORY, 0, false, pathC, PATH_MAX) != B_OK) return nil; return [OFURL fileURLWithPath: [OFString stringWithUTF8String: pathC] isDirectory: true]; # elif defined(OF_AMIGAOS) return [OFURL fileURLWithPath: @"PROGDIR:" isDirectory: true]; # else OFDictionary *env = [OFApplication environment]; OFString *var; if ((var = [env objectForKey: @"XDG_CONFIG_HOME"]) != nil && var.length > 0) return [OFURL fileURLWithPath: var isDirectory: true]; |
︙ | ︙ |