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

Unified Diff: Source/config.h

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/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/config.h
diff --git a/Source/config.h b/Source/config.h
index 00324eb63122587218708119e75e373c33b2f9aa..a4f3d9e78a951eb956a2b3851685c7e4e23069dc 100644
--- a/Source/config.h
+++ b/Source/config.h
@@ -51,9 +51,9 @@
#define WTF_OS_ANDROID 1
#endif
-/* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */
+/* OS(MACOSX) - Any Darwin-based OS, including Mac OS X and iPhone OS */
#ifdef __APPLE__
-#define WTF_OS_DARWIN 1
+#define WTF_OS_MACOSX 1
#endif
/* OS(FREEBSD) - FreeBSD */
@@ -83,7 +83,7 @@
/* OS(UNIX) - Any Unix-like system */
#if OS(ANDROID) \
- || OS(DARWIN) \
+ || OS(MACOSX) \
|| OS(FREEBSD) \
|| OS(LINUX) \
|| OS(NETBSD) \
@@ -105,16 +105,16 @@
#define WTF_USE_QCMSLIB 1
#endif
-#if OS(DARWIN)
+#if OS(MACOSX)
#define WTF_USE_CF 1
-/* We can't override the global operator new and delete on OS(DARWIN) because
+/* We can't override the global operator new and delete on OS(MACOSX) because
* some object are allocated by WebKit and deallocated by the embedder. */
-#else /* !OS(DARWIN) */
-/* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there's
+#else /* !OS(MACOSX) */
+/* On non-OS(MACOSX), the "system malloc" is actually TCMalloc anyway, so there's
* no need to use WebKit's copy of TCMalloc. */
#define WTF_USE_SYSTEM_MALLOC 1
-#endif /* OS(DARWIN) */
+#endif /* OS(MACOSX) */
#if !defined(HAVE_ACCESSIBILITY)
#define HAVE_ACCESSIBILITY 1
@@ -139,10 +139,10 @@
#define HAVE_TIMEGM 1
#endif
-#if OS(DARWIN)
+#if OS(MACOSX)
#define HAVE_DISPATCH_H 1
#define HAVE_PTHREAD_SETNAME_NP 1
-#endif /* OS(DARWIN) */
+#endif /* OS(MACOSX) */
#if OS(WINDOWS)
« no previous file with comments | « Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698