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]; |