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

Unified Diff: Source/wtf/NumberOfCores.cpp

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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/MathExtras.h ('k') | Source/wtf/RandomNumberSeed.h » ('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 ec31bea4cba471a3928bb751d62b3bbe33ee27ef..0d4e237b01ac4abf4f5c497c02c41aa5af4c7930 100644
--- a/Source/wtf/NumberOfCores.cpp
+++ b/Source/wtf/NumberOfCores.cpp
@@ -26,7 +26,7 @@
#include "config.h"
#include "NumberOfCores.h"
-#if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
+#if OS(MACOSX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
#include <sys/param.h>
// sys/types.h must come before sys/sysctl.h because the latter uses
// data types defined in the former. See sysctl(3) and style(9).
@@ -49,7 +49,7 @@ int numberOfProcessorCores()
if (s_numberOfCores > 0)
return s_numberOfCores;
-#if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
+#if OS(MACOSX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
unsigned result;
size_t length = sizeof(result);
int name[] = {
« no previous file with comments | « Source/wtf/MathExtras.h ('k') | Source/wtf/RandomNumberSeed.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698