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

Unified Diff: Source/wtf/tests/IntegerToStringConversion.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/ThreadingWin.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/tests/IntegerToStringConversion.cpp
diff --git a/Source/wtf/tests/IntegerToStringConversion.cpp b/Source/wtf/tests/IntegerToStringConversion.cpp
index 9ec4ffbe76f5429a3d2941c1ca73f31ffbcf1ae4..915558907ecabdf7e9a2b9de2f9492599f4c6a30 100644
--- a/Source/wtf/tests/IntegerToStringConversion.cpp
+++ b/Source/wtf/tests/IntegerToStringConversion.cpp
@@ -45,11 +45,11 @@ template<> struct PrintfFormatTrait<long> { static const char format[]; };
const char PrintfFormatTrait<long>::format[] = "%ld";
template<> struct PrintfFormatTrait<long long> { static const char format[]; };
-#if OS(WINDOWS)
+#if OS(WIN)
const char PrintfFormatTrait<long long>::format[] = "%I64i";
#else
const char PrintfFormatTrait<long long>::format[] = "%lli";
-#endif // OS(WINDOWS)
+#endif // OS(WIN)
template<> struct PrintfFormatTrait<unsigned short> { static const char format[]; };
const char PrintfFormatTrait<unsigned short>::format[] = "%hu";
@@ -61,11 +61,11 @@ template<> struct PrintfFormatTrait<unsigned long> { static const char format[];
const char PrintfFormatTrait<unsigned long>::format[] = "%lu";
template<> struct PrintfFormatTrait<unsigned long long> { static const char format[]; };
-#if OS(WINDOWS)
+#if OS(WIN)
const char PrintfFormatTrait<unsigned long long>::format[] = "%I64u";
#else
const char PrintfFormatTrait<unsigned long long>::format[] = "%llu";
-#endif // OS(WINDOWS)
+#endif // OS(WIN)
// FIXME: use snprintf from StringExtras.h
« no previous file with comments | « Source/wtf/ThreadingWin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698