| 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 #ifndef _FX_SYSTEM_H_ | 7 #ifndef _FX_SYSTEM_H_ |
| 8 #define _FX_SYSTEM_H_ | 8 #define _FX_SYSTEM_H_ |
| 9 #define _FX_WIN32_DESKTOP_ 1 | 9 #define _FX_WIN32_DESKTOP_ 1 |
| 10 #define _FX_LINUX_DESKTOP_ 4 | 10 #define _FX_LINUX_DESKTOP_ 4 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 typedef FX_UINT64 FX_UINTPTR; | 103 typedef FX_UINT64 FX_UINTPTR; |
| 104 #else | 104 #else |
| 105 typedef int FX_INTPTR; | 105 typedef int FX_INTPTR; |
| 106 typedef unsigned int FX_UINTPTR; | 106 typedef unsigned int FX_UINTPTR; |
| 107 #endif | 107 #endif |
| 108 typedef wchar_t FX_WCHAR; | 108 typedef wchar_t FX_WCHAR; |
| 109 typedef wchar_t* FX_LPWSTR; | 109 typedef wchar_t* FX_LPWSTR; |
| 110 typedef wchar_t const* FX_LPCWSTR; | 110 typedef wchar_t const* FX_LPCWSTR; |
| 111 typedef FX_DWORD FX_UINT32; | 111 typedef FX_DWORD FX_UINT32; |
| 112 typedef FX_UINT64 FX_QWORD; | 112 typedef FX_UINT64 FX_QWORD; |
| 113 #define FX_DEFINEHANDLE(name) typedef struct _##name {FX_LPVOID pData;} * name
; | |
| 114 #if defined(DEBUG) && !defined(_DEBUG) | 113 #if defined(DEBUG) && !defined(_DEBUG) |
| 115 #define _DEBUG | 114 #define _DEBUG |
| 116 #endif | 115 #endif |
| 117 #ifndef TRUE | 116 #ifndef TRUE |
| 118 | 117 |
| 119 #define TRUE 1 | 118 #define TRUE 1 |
| 120 #endif | 119 #endif |
| 121 #ifndef FALSE | 120 #ifndef FALSE |
| 122 | 121 |
| 123 #define FALSE 0 | 122 #define FALSE 0 |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 320 |
| 322 #else // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 321 #else // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
| 323 | 322 |
| 324 #if !defined(PRIuS) | 323 #if !defined(PRIuS) |
| 325 #define PRIuS "Iu" | 324 #define PRIuS "Iu" |
| 326 #endif | 325 #endif |
| 327 | 326 |
| 328 #endif | 327 #endif |
| 329 | 328 |
| 330 #endif | 329 #endif |
| OLD | NEW |