| Index: Source/wtf/NumberOfCores.cpp
|
| diff --git a/Source/wtf/NumberOfCores.cpp b/Source/wtf/NumberOfCores.cpp
|
| index 72a51314c7bf674a5ef7716d8e058e88c2437c65..efbc5c02776c2d9d7e36769113eebcd31b0c1e38 100644
|
| --- a/Source/wtf/NumberOfCores.cpp
|
| +++ b/Source/wtf/NumberOfCores.cpp
|
| @@ -32,7 +32,7 @@
|
| // data types defined in the former. See sysctl(3) and style(9).
|
| #include <sys/types.h>
|
| #include <sys/sysctl.h>
|
| -#elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
|
| +#elif OS(LINUX) || OS(SOLARIS)
|
| #include <unistd.h>
|
| #elif OS(WINDOWS)
|
| #include <wtf/UnusedParam.h>
|
| @@ -61,7 +61,7 @@ int numberOfProcessorCores()
|
| int sysctlResult = sysctl(name, sizeof(name) / sizeof(int), &result, &length, 0, 0);
|
|
|
| s_numberOfCores = sysctlResult < 0 ? defaultIfUnavailable : result;
|
| -#elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
|
| +#elif OS(LINUX) || OS(SOLARIS)
|
| long sysconfResult = sysconf(_SC_NPROCESSORS_ONLN);
|
|
|
| s_numberOfCores = sysconfResult < 0 ? defaultIfUnavailable : static_cast<int>(sysconfResult);
|
|
|