diff options
author | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:50:28 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-03-09 09:50:28 -0800 |
commit | c76831bb60d3c938b82a64a45f6b2af5b5f24bed (patch) | |
tree | d26cdc3764824556cfc62e43a8be9ec4a154f0e4 /xfa/src/fgas | |
parent | 4f0b7a61e473996df776dbd9a8d1af3a9704110d (diff) | |
download | pdfium-c76831bb60d3c938b82a64a45f6b2af5b5f24bed.tar.xz |
Fix clang-cl build for pdf_enable_xfa=1
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1781683002 .
Diffstat (limited to 'xfa/src/fgas')
-rw-r--r-- | xfa/src/fgas/src/localization/fx_datetime.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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; |