Differences From Artifact [aa3fde574a]:
- File src/OFSystemInfo.m — part of check-in [4b637f8516] at 2012-12-26 14:10:34 on branch trunk — Add OFSystemInfo. (user: js, size: 1500) [annotate] [blame] [check-ins using]
To Artifact [5448c83bed]:
- File src/OFSystemInfo.m — part of check-in [2965720dbc] at 2013-01-07 13:36:21 on branch trunk — Fix compilation on Win32. (user: js, size: 1544) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + | #include <stdlib.h> #include <unistd.h> #ifdef __QNX__ # include <sys/syspage.h> #endif #ifdef _WIN32 # include <windows.h> #endif static size_t pageSize; static size_t numberOfCPUs; @implementation OFSystemInfo + (void)initialize { |
︙ |