Index: Source/wtf/NumberOfCores.cpp |
diff --git a/Source/wtf/NumberOfCores.cpp b/Source/wtf/NumberOfCores.cpp |
index 0d4e237b01ac4abf4f5c497c02c41aa5af4c7930..9fab55e420075582d608e6e10d5c74fe2145af32 100644 |
--- a/Source/wtf/NumberOfCores.cpp |
+++ b/Source/wtf/NumberOfCores.cpp |
@@ -34,7 +34,7 @@ |
#include <sys/sysctl.h> |
#elif OS(LINUX) |
#include <unistd.h> |
-#elif OS(WINDOWS) |
+#elif OS(WIN) |
#include "wtf/UnusedParam.h" |
#include <windows.h> |
#endif |
@@ -63,7 +63,7 @@ int numberOfProcessorCores() |
long sysconfResult = sysconf(_SC_NPROCESSORS_ONLN); |
s_numberOfCores = sysconfResult < 0 ? defaultIfUnavailable : static_cast<int>(sysconfResult); |
-#elif OS(WINDOWS) |
+#elif OS(WIN) |
UNUSED_PARAM(defaultIfUnavailable); |
SYSTEM_INFO sysInfo; |
GetSystemInfo(&sysInfo); |