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

Unified Diff: Source/wtf/DateMath.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/ByteOrder.h ('k') | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/DateMath.cpp
diff --git a/Source/wtf/DateMath.cpp b/Source/wtf/DateMath.cpp
index 24d09a6a580990815f0d908a929440f4736db8ee..95952a3981f4076c3b7b45db30fb35d46d8fa58b 100644
--- a/Source/wtf/DateMath.cpp
+++ b/Source/wtf/DateMath.cpp
@@ -86,7 +86,7 @@
#include <time.h>
#include "wtf/text/StringBuilder.h"
-#if OS(WINDOWS)
+#if OS(WIN)
#include <windows.h>
#endif
@@ -359,7 +359,7 @@ int equivalentYearForDST(int year)
int32_t calculateUTCOffset()
{
-#if OS(WINDOWS)
+#if OS(WIN)
TIME_ZONE_INFORMATION timeZoneInformation;
GetTimeZoneInformation(&timeZoneInformation);
int32_t bias = timeZoneInformation.Bias + timeZoneInformation.StandardBias;
@@ -475,7 +475,7 @@ static inline double ymdhmsToSeconds(int year, long mon, long day, long hour, lo
// We follow the recommendation of RFC 2822 to consider all
// obsolete time zones not listed here equivalent to "-0000".
static const struct KnownZone {
-#if !OS(WINDOWS)
+#if !OS(WIN)
const
#endif
char tzName[4];
« no previous file with comments | « Source/wtf/ByteOrder.h ('k') | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698