Remove Blackberry and QNX bits from WTF
[WebKit-https.git] / Source / WTF / wtf / NumberOfCores.cpp
index 4bbdb94..75d8af7 100644 (file)
 #include <sys/sysctl.h>
 #elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
 #include <unistd.h>
-#elif OS(WINDOWS) || OS(QNX)
-#include <wtf/UnusedParam.h>
-#if OS(WINDOWS)
+#elif OS(WINDOWS)
 #include <windows.h>
-#elif OS(QNX)
-#include <sys/syspage.h>
-#endif
 #endif
 
 namespace WTF {
@@ -73,10 +68,6 @@ int numberOfProcessorCores()
     GetSystemInfo(&sysInfo);
 
     s_numberOfCores = sysInfo.dwNumberOfProcessors;
-#elif OS(QNX)
-    UNUSED_PARAM(defaultIfUnavailable);
-
-    s_numberOfCores = _syspage_ptr->num_cpu;
 #else
     s_numberOfCores = defaultIfUnavailable;
 #endif