Overview
Comment: | OFSystemInfo: Do not use sysctl to get CPU vendor
The sysctl name is specific to x86 on macOS and NetBSD, so cannot be |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e73d0702d0a502eac0b419b2580da67d |
User & Date: | js on 2020-11-02 01:11:34 |
Other Links: | manifest | tags |
Context
2020-11-02
| ||
22:13 | OFString+PathAdditions: Fix typo check-in: 1042afedd9 user: js tags: trunk | |
01:11 | OFSystemInfo: Do not use sysctl to get CPU vendor check-in: e73d0702d0 user: js tags: trunk | |
00:56 | OFSystemInfo: Minor cleanup check-in: 9903dedecb user: js tags: trunk | |
Changes
Modified src/OFSystemInfo.m from [a8432f0c63] to [97e07274dd].
︙ | ︙ | |||
564 565 566 567 568 569 570 | buffer[i++] = regs.eax; buffer[i++] = regs.ebx; buffer[i++] = regs.ecx; buffer[i++] = regs.edx; } return [OFString stringWithCString: (char *)buffer | < < < < < < < < < < < < < < | 564 565 566 567 568 569 570 571 572 573 574 575 576 577 | buffer[i++] = regs.eax; buffer[i++] = regs.ebx; buffer[i++] = regs.ecx; buffer[i++] = regs.edx; } return [OFString stringWithCString: (char *)buffer encoding: OF_STRING_ENCODING_ASCII]; #elif defined(OF_AMIGAOS4) CONST_STRPTR model, version; GetCPUInfoTags(GCIT_ModelString, &model, GCIT_VersionString, &version, TAG_END); |
︙ | ︙ |