Differences From Artifact [3534efb1b1]:
- File
src/OFSystemInfo.m
— part of check-in
[5831626f68]
at
2018-05-13 19:24:28
on branch trunk
— platform.h: Rename OF_AMIGAOS3 to OF_AMIGAOS_M68K
The reason for this is that, in theory, this also supports versions
older than 3. (user: js, size: 14722) [annotate] [blame] [check-ins using]
To Artifact [4d8db1e98a]:
- File src/OFSystemInfo.m — part of check-in [06cf4cc15f] at 2018-07-01 15:14:59 on branch trunk — OFSystemInfo: Add ObjFW version (user: js, size: 14916) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
306 307 308 309 310 311 312 313 314 315 316 317 318 319 | return pageSize; } + (size_t)numberOfCPUs { return numberOfCPUs; } + (OFString *)operatingSystemName { #ifdef OF_HAVE_THREADS static of_once_t onceControl = OF_ONCE_INIT; of_once(&onceControl, initOperatingSystemName); #else | > > > > > > > > > > > > > > > | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | return pageSize; } + (size_t)numberOfCPUs { return numberOfCPUs; } + (OFString *)ObjFWVersion { return @PACKAGE_VERSION; } + (unsigned int)ObjFWVersionMajor { return OBJFW_VERSION_MAJOR; } + (unsigned int)ObjFWVersionMinor { return OBJFW_VERSION_MINOR; } + (OFString *)operatingSystemName { #ifdef OF_HAVE_THREADS static of_once_t onceControl = OF_ONCE_INIT; of_once(&onceControl, initOperatingSystemName); #else |
︙ | ︙ |