Overview
| Comment: | Fix missing #ifdef OF_HAVE_FILES |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
f059c39b0076d36db914b821b7ee4d68 |
| User & Date: | js on 2018-03-18 06:05:02 |
| Other Links: | manifest | tags |
Context
|
2018-03-19
| ||
| 23:42 | Ignore empty and slash-only path components (check-in: 69148d4e5e user: js tags: trunk) | |
|
2018-03-18
| ||
| 06:05 | Fix missing #ifdef OF_HAVE_FILES (check-in: f059c39b00 user: js tags: trunk) | |
| 03:01 | Implement +[operatingSystemVersion] for Windows (check-in: 4707e80cdb user: js tags: trunk) | |
Changes
Modified src/OFSystemInfo.m from [d04cf49a1f] to [5fc88ae41a].
| ︙ | ︙ | |||
155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
operatingSystemVersion = [[[propertyList propertyListValue]
objectForKey: @"ProductVersion"] copy];
} @finally {
objc_autoreleasePoolPop(pool);
}
# endif
#elif defined(OF_WINDOWS)
void *pool = objc_autoreleasePoolPush();
@try {
wchar_t systemDir[PATH_MAX];
UINT systemDirLen;
OFString *systemDirString;
const of_char16_t *path;
| > | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
operatingSystemVersion = [[[propertyList propertyListValue]
objectForKey: @"ProductVersion"] copy];
} @finally {
objc_autoreleasePoolPop(pool);
}
# endif
#elif defined(OF_WINDOWS)
# ifdef OF_HAVE_FILES
void *pool = objc_autoreleasePoolPush();
@try {
wchar_t systemDir[PATH_MAX];
UINT systemDirLen;
OFString *systemDirString;
const of_char16_t *path;
|
| ︙ | ︙ | |||
205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
HIWORD(info->dwProductVersionLS)];
} @finally {
free(buffer);
}
} @finally {
objc_autoreleasePoolPop(pool);
}
#elif defined(OF_ANDROID)
/* TODO */
#elif defined(OF_MORPHOS)
/* TODO */
#elif defined(OF_AMIGAOS4)
/* TODO */
#elif defined(OF_WII) || defined(NINTENDO_3DS) || defined(OF_NINTENDO_DS) || \
| > | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
HIWORD(info->dwProductVersionLS)];
} @finally {
free(buffer);
}
} @finally {
objc_autoreleasePoolPop(pool);
}
# endif
#elif defined(OF_ANDROID)
/* TODO */
#elif defined(OF_MORPHOS)
/* TODO */
#elif defined(OF_AMIGAOS4)
/* TODO */
#elif defined(OF_WII) || defined(NINTENDO_3DS) || defined(OF_NINTENDO_DS) || \
|
| ︙ | ︙ |