From c76831bb60d3c938b82a64a45f6b2af5b5f24bed Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 9 Mar 2016 09:50:28 -0800 Subject: Fix clang-cl build for pdf_enable_xfa=1 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1781683002 . --- xfa/src/fgas/src/localization/fx_datetime.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xfa/src') diff --git a/xfa/src/fgas/src/localization/fx_datetime.cpp b/xfa/src/fgas/src/localization/fx_datetime.cpp index f537646d45..536f19e30e 100644 --- a/xfa/src/fgas/src/localization/fx_datetime.cpp +++ b/xfa/src/fgas/src/localization/fx_datetime.cpp @@ -30,14 +30,6 @@ const int64_t g_FXMillisecondsPerSecond = 1000; const int64_t g_FXMillisecondsPerMinute = 60000; const int64_t g_FXMillisecondsPerHour = 3600000; const int64_t g_FXMillisecondsPerDay = 86400000; -#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ - _FX_OS_ == _FX_WIN64_ -const int64_t g_FXMillisecondsPerYear = 0x0757B12C00; -const int64_t g_FXMillisecondsPerLeapYear = 0x075CD78800; -const int64_t g_FXMillisecondsPer4Years = 0x1D63EB0C00; -const int64_t g_FXMillisecondsPer100Years = 0x02DEBCCDD000; -const int64_t g_FXMillisecondsPer400Years = 0x0B7AF85D9C00; -#endif FX_BOOL FX_IsLeapYear(int32_t iYear) { FXSYS_assert(iYear != 0); return ((iYear % 4) == 0 && (iYear % 100) != 0) || (iYear % 400) == 0; -- cgit v1.2.3