Overview
Comment: | OFFileManager: Only open dos.library if HAVE_FILES |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
40589ab9d4c8546b89b5a729069094c1 |
User & Date: | js on 2019-04-14 16:35:19 |
Other Links: | manifest | tags |
Context
2019-04-15
| ||
21:10 | Use GetFileAttributesExW() instead of _wstat64() check-in: 2339bc3407 user: js tags: trunk | |
2019-04-14
| ||
16:35 | OFFileManager: Only open dos.library if HAVE_FILES check-in: 40589ab9d4 user: js tags: trunk | |
15:40 | Use more const check-in: dfd61e781e user: js tags: trunk | |
Changes
Modified src/OFFileManager.m from [8f91c19e94] to [88398e5090].
︙ | ︙ | |||
151 152 153 154 155 156 157 | @implementation OFFileManager + (void)initialize { if (self != [OFFileManager class]) return; | > | | < | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | @implementation OFFileManager + (void)initialize { if (self != [OFFileManager class]) return; #ifdef OF_HAVE_FILES # ifdef OF_AMIGAOS4 if ((DOSBase = OpenLibrary("dos.library", 36)) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; if ((IDOS = (struct DOSIFace *) GetInterface(DOSBase, "main", 1, NULL)) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; # endif /* * Make sure OFFile is initialized. * On some systems, this is needed to initialize the file system driver. */ [OFFile class]; #endif |
︙ | ︙ |