From 5460ccbbd6034cbbaba0318f6594016b66c956a0 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 23 Feb 2016 09:17:04 -0500 Subject: XFA build fix. We need to pull in the fgas_base.h file before looking at the _FX_OS_ checks otherwise they become true and windows XFA build fails. TBR=tsepez@chromium.org BUG=pdfium:65 Review URL: https://codereview.chromium.org/1725843002 . --- xfa/src/fgas/src/localization/fx_datetime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xfa/src/fgas/src/localization/fx_datetime.cpp b/xfa/src/fgas/src/localization/fx_datetime.cpp index 1d4a73672c..1907977b78 100644 --- a/xfa/src/fgas/src/localization/fx_datetime.cpp +++ b/xfa/src/fgas/src/localization/fx_datetime.cpp @@ -4,14 +4,14 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#include "xfa/src/fgas/src/fgas_base.h" + #if _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_ANDROID_ || \ _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_ #include #include #endif -#include "xfa/src/fgas/src/fgas_base.h" - const uint8_t g_FXDaysPerMonth[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; const uint8_t g_FXDaysPerLeapMonth[12] = {31, 29, 31, 30, 31, 30, -- cgit v1.2.3