Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1925)

Unified Diff: Source/wtf/NumberOfCores.cpp

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/GregorianDateTime.cpp ('k') | Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/wtf/GregorianDateTime.cpp ('k') | Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698