Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: core/include/fxcrt/fx_system.h

Issue 1133453006: Merge to XFA: Fix a bunch of -Wunused-but-set-variable warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@xfa
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/pageint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 typedef unsigned short const* FX_LPCWORD; 88 typedef unsigned short const* FX_LPCWORD;
89 typedef int FX_INT32; 89 typedef int FX_INT32;
90 typedef float FX_FLOAT; 90 typedef float FX_FLOAT;
91 typedef int FX_BOOL; 91 typedef int FX_BOOL;
92 typedef int FX_ERR; 92 typedef int FX_ERR;
93 #define FX_SUCCEEDED(Status) ((FX_ERR)(Status) >= 0) 93 #define FX_SUCCEEDED(Status) ((FX_ERR)(Status) >= 0)
94 #define FX_FAILED(Status) ((FX_ERR)(Status) < 0) 94 #define FX_FAILED(Status) ((FX_ERR)(Status) < 0)
95 typedef char FX_CHAR; 95 typedef char FX_CHAR;
96 typedef char* FX_LPSTR; 96 typedef char* FX_LPSTR;
97 typedef char const* FX_LPCSTR; 97 typedef char const* FX_LPCSTR;
98 #define FX_DWORD_MAX UINT_MAX
98 typedef unsigned int FX_DWORD; 99 typedef unsigned int FX_DWORD;
99 typedef unsigned int* FX_LPDWORD; 100 typedef unsigned int* FX_LPDWORD;
100 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 101 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
101 typedef __int64 FX_INT64; 102 typedef __int64 FX_INT64;
102 typedef unsigned __int64 FX_UINT64; 103 typedef unsigned __int64 FX_UINT64;
103 #else 104 #else
104 typedef long long int FX_INT64; 105 typedef long long int FX_INT64;
105 typedef unsigned long long FX_UINT64; 106 typedef unsigned long long FX_UINT64;
106 #endif 107 #endif
107 #if _FX_WORDSIZE_ == _FX_W64_ 108 #if _FX_WORDSIZE_ == _FX_W64_
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 335
335 #else // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ 336 #else // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
336 337
337 #if !defined(PRIuS) 338 #if !defined(PRIuS)
338 #define PRIuS "Iu" 339 #define PRIuS "Iu"
339 #endif 340 #endif
340 341
341 #endif 342 #endif
342 343
343 #endif 344 #endif
OLDNEW
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_page/pageint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698