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

Unified Diff: Source/config.h

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/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/core/dom/Node.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 a4f3d9e78a951eb956a2b3851685c7e4e23069dc..7e20d9e8b4b28082f67c35d40329c12a1d4691e7 100644
--- a/Source/config.h
+++ b/Source/config.h
@@ -76,9 +76,9 @@
#define WTF_OS_OPENBSD 1
#endif
-/* OS(WINDOWS) - Any version of Windows */
+/* OS(WIN) - Any version of Windows */
#if defined(WIN32) || defined(_WIN32)
-#define WTF_OS_WINDOWS 1
+#define WTF_OS_WIN 1
#endif
/* OS(UNIX) - Any Unix-like system */
@@ -133,7 +133,7 @@
#endif
#endif
-#if !OS(WINDOWS) && !OS(ANDROID)
+#if !OS(WIN) && !OS(ANDROID)
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
#define HAVE_TIMEGM 1
@@ -144,7 +144,7 @@
#define HAVE_PTHREAD_SETNAME_NP 1
#endif /* OS(MACOSX) */
-#if OS(WINDOWS)
+#if OS(WIN)
// If we don't define these, they get defined in windef.h.
// We want to use std::min and std::max.
@@ -155,7 +155,7 @@
#define min min
#endif
-#endif /* OS(WINDOWS) */
+#endif /* OS(WIN) */
#ifdef __cplusplus
« no previous file with comments | « Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698