OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "../fgas_base.h" | 7 #include "xfa/src/fgas/src/fgas_base.h" |
8 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ | 8 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ |
9 _FX_OS_ == _FX_WIN64_ | 9 _FX_OS_ == _FX_WIN64_ |
10 #include <io.h> | 10 #include <io.h> |
11 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_ | 11 #elif _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_LINUX_Mini_ |
12 #include <sys/times.h> | 12 #include <sys/times.h> |
13 #endif | 13 #endif |
14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
15 extern "C" { | 15 extern "C" { |
16 #endif | 16 #endif |
17 FX_FLOAT FX_tan(FX_FLOAT a) { | 17 FX_FLOAT FX_tan(FX_FLOAT a) { |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 } | 218 } |
219 } | 219 } |
220 wsAbsolutePath = | 220 wsAbsolutePath = |
221 CFX_WideString(CFX_WideStringC(pBaseStart, pBaseEnd - pBaseStart + 1), | 221 CFX_WideString(CFX_WideStringC(pBaseStart, pBaseEnd - pBaseStart + 1), |
222 CFX_WideStringC(pRelStart, pRelEnd - pRelStart)); | 222 CFX_WideStringC(pRelStart, pRelEnd - pRelStart)); |
223 return wsAbsolutePath.GetLength() > 0; | 223 return wsAbsolutePath.GetLength() > 0; |
224 } | 224 } |
225 #ifdef __cplusplus | 225 #ifdef __cplusplus |
226 }; | 226 }; |
227 #endif | 227 #endif |
OLD | NEW |