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

Side by Side Diff: core/include/thirdparties/libjpeg/jmorecfg.h

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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 | « core/include/fxge/fx_ge_win32.h ('k') | core/include/thirdparties/libjpeg/jpegint.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 /* 1 /*
2 * jmorecfg.h 2 * jmorecfg.h
3 * 3 *
4 * Copyright (C) 1991-1997, Thomas G. Lane. 4 * Copyright (C) 1991-1997, Thomas G. Lane.
5 * This file is part of the Independent JPEG Group's software. 5 * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file. 6 * For conditions of distribution and use, see the accompanying README file.
7 * 7 *
8 * This file contains additional configuration options that customize the 8 * This file contains additional configuration options that customize the
9 * JPEG software for special applications or support machine-dependent 9 * JPEG software for special applications or support machine-dependent
10 * optimizations. Most users will not need to touch this file. 10 * optimizations. Most users will not need to touch this file.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 */ 223 */
224 224
225 #ifdef NEED_FAR_POINTERS 225 #ifdef NEED_FAR_POINTERS
226 #define FAR far 226 #define FAR far
227 #else 227 #else
228 //#define FAR 228 //#define FAR
229 #endif 229 #endif
230 230
231 231
232 /* 232 /*
233 * On a few systems, type boolean and/or its values FALSE, TRUE may appear 233 * On a few systems, type boolean and/or its values false, true may appear
234 * in standard header files. Or you may have conflicts with application- 234 * in standard header files. Or you may have conflicts with application-
235 * specific header files that you want to include together with these files. 235 * specific header files that you want to include together with these files.
236 * Defining HAVE_BOOLEAN before including jpeglib.h should make it work. 236 * Defining HAVE_BOOLEAN before including jpeglib.h should make it work.
237 */ 237 */
238 238
239 #ifndef HAVE_BOOLEAN 239 #ifndef HAVE_BOOLEAN
240 typedef int boolean; 240 typedef int boolean;
241 #endif 241 #endif
242 #ifndef FALSE» » » /* in case these macros already exist */ 242 #ifndef false» » » /* in case these macros already exist */
243 #define FALSE» 0» » /* values of boolean */ 243 #define false» 0» » /* values of boolean */
244 #endif 244 #endif
245 #ifndef TRUE 245 #ifndef true
246 #define TRUE» 1 246 #define true» 1
247 #endif 247 #endif
248 248
249 249
250 /* 250 /*
251 * The remaining options affect code selection within the JPEG library, 251 * The remaining options affect code selection within the JPEG library,
252 * but they don't need to be visible to most applications using the library. 252 * but they don't need to be visible to most applications using the library.
253 * To minimize application namespace pollution, the symbols won't be 253 * To minimize application namespace pollution, the symbols won't be
254 * defined unless JPEG_INTERNALS or JPEG_INTERNAL_OPTIONS has been defined. 254 * defined unless JPEG_INTERNALS or JPEG_INTERNAL_OPTIONS has been defined.
255 */ 255 */
256 256
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 #ifndef FAST_FLOAT 368 #ifndef FAST_FLOAT
369 #ifdef HAVE_PROTOTYPES 369 #ifdef HAVE_PROTOTYPES
370 #define FAST_FLOAT float 370 #define FAST_FLOAT float
371 #else 371 #else
372 #define FAST_FLOAT double 372 #define FAST_FLOAT double
373 #endif 373 #endif
374 #endif 374 #endif
375 375
376 #endif /* JPEG_INTERNAL_OPTIONS */ 376 #endif /* JPEG_INTERNAL_OPTIONS */
OLDNEW
« no previous file with comments | « core/include/fxge/fx_ge_win32.h ('k') | core/include/thirdparties/libjpeg/jpegint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698