SystemInformation: use /proc/cpuinfo only when present
Try to open /proc/cpuinfo only on platforms where it's presence is expected, namely Linux and Cygwin. Otherwise try sysconf(_SC_NPROCESSORS_ONLN) as last resort to count processors. Also account for the slightly different name on IRIX. Change-Id: I89eb5e198a6b3a33b581b70d2213096cbac8ca7c
Loading
Please register or sign in to comment