diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-23 09:17:04 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-23 09:17:04 -0500 |
commit | 5460ccbbd6034cbbaba0318f6594016b66c956a0 (patch) | |
tree | f08f5744d66d4acb82e7c8f73cb2062b77139598 /xfa/src/fgas | |
parent | 880962cb81b7a34e4b90a2ecb1992f1afb13d529 (diff) | |
download | pdfium-5460ccbbd6034cbbaba0318f6594016b66c956a0.tar.xz |
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 .
Diffstat (limited to 'xfa/src/fgas')
-rw-r--r-- | xfa/src/fgas/src/localization/fx_datetime.cpp | 4 |
1 files 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 <sys/time.h> #include <time.h> #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, |