| Index: Source/wtf/DateMath.cpp
|
| diff --git a/Source/wtf/DateMath.cpp b/Source/wtf/DateMath.cpp
|
| index b94468c6013b12d74d08f046c79bb8b67bc191b8..84e27a9b101736247ae13b68f06c1d2789c95989 100644
|
| --- a/Source/wtf/DateMath.cpp
|
| +++ b/Source/wtf/DateMath.cpp
|
| @@ -132,7 +132,6 @@ static const int firstDayOfMonth[2][12] = {
|
| {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335}
|
| };
|
|
|
| -#if !OS(WINCE)
|
| static inline void getLocalTime(const time_t* localTime, struct tm* localTM)
|
| {
|
| #if COMPILER(MSVC7_OR_LOWER) || COMPILER(MINGW)
|
| @@ -143,7 +142,6 @@ static inline void getLocalTime(const time_t* localTime, struct tm* localTM)
|
| localtime_r(localTime, localTM);
|
| #endif
|
| }
|
| -#endif
|
|
|
| bool isLeapYear(int year)
|
| {
|
| @@ -420,11 +418,6 @@ int32_t calculateUTCOffset()
|
| */
|
| static double calculateDSTOffsetSimple(double localTimeSeconds, double utcOffset)
|
| {
|
| -#if OS(WINCE)
|
| - UNUSED_PARAM(localTimeSeconds);
|
| - UNUSED_PARAM(utcOffset);
|
| - return 0;
|
| -#else
|
| if (localTimeSeconds > maxUnixTime)
|
| localTimeSeconds = maxUnixTime;
|
| else if (localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0)
|
| @@ -449,7 +442,6 @@ static double calculateDSTOffsetSimple(double localTimeSeconds, double utcOffset
|
| diff += secondsPerDay;
|
|
|
| return (diff * msPerSecond);
|
| -#endif
|
| }
|
|
|
| // Get the DST offset, given a time in UTC
|
|
|