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

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

Issue 1265503005: clang-format all pdfium code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 4 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
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 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ 7 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
8 /* see jconfig.doc for explanations */ 8 /* see jconfig.doc for explanations */
9 9
10 #define HAVE_PROTOTYPES 10 #define HAVE_PROTOTYPES
11 #define HAVE_UNSIGNED_CHAR 11 #define HAVE_UNSIGNED_CHAR
12 #define HAVE_UNSIGNED_SHORT 12 #define HAVE_UNSIGNED_SHORT
13 /* #define void char */ 13 /* #define void char */
14 /* #define const */ 14 /* #define const */
15 #undef CHAR_IS_UNSIGNED 15 #undef CHAR_IS_UNSIGNED
16 #define HAVE_STDDEF_H 16 #define HAVE_STDDEF_H
17 #define HAVE_STDLIB_H 17 #define HAVE_STDLIB_H
18 #undef NEED_BSD_STRINGS 18 #undef NEED_BSD_STRINGS
19 #undef NEED_SYS_TYPES_H 19 #undef NEED_SYS_TYPES_H
20 #undef NEED_FAR_POINTERS» /* we presume a 32-bit flat memory model */ 20 #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
21 #undef NEED_SHORT_EXTERNAL_NAMES 21 #undef NEED_SHORT_EXTERNAL_NAMES
22 #undef INCOMPLETE_TYPES_BROKEN 22 #undef INCOMPLETE_TYPES_BROKEN
23 23
24 /* Define "boolean" as unsigned char, not int, per Windows custom */ 24 /* Define "boolean" as unsigned char, not int, per Windows custom */
25 #ifndef __RPCNDR_H__» » /* don't conflict if rpcndr.h already read */ 25 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
26 typedef unsigned char boolean; 26 typedef unsigned char boolean;
27 #endif 27 #endif
28 #define HAVE_BOOLEAN» » /* prevent jmorecfg.h from redefining it */ 28 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
29
30 29
31 #ifdef JPEG_INTERNALS 30 #ifdef JPEG_INTERNALS
32 31
33 #undef RIGHT_SHIFT_IS_UNSIGNED 32 #undef RIGHT_SHIFT_IS_UNSIGNED
34 33
35 #endif /* JPEG_INTERNALS */ 34 #endif /* JPEG_INTERNALS */
36 35
37 #ifdef JPEG_CJPEG_DJPEG 36 #ifdef JPEG_CJPEG_DJPEG
38 37
39 #define BMP_SUPPORTED» » /* BMP image file format */ 38 #define BMP_SUPPORTED /* BMP image file format */
40 #define GIF_SUPPORTED» » /* GIF image file format */ 39 #define GIF_SUPPORTED /* GIF image file format */
41 #define PPM_SUPPORTED» » /* PBMPLUS PPM/PGM image file format */ 40 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
42 #undef RLE_SUPPORTED» » /* Utah RLE image file format */ 41 #undef RLE_SUPPORTED /* Utah RLE image file format */
43 #define TARGA_SUPPORTED»» /* Targa image file format */ 42 #define TARGA_SUPPORTED /* Targa image file format */
44 43
45 #define TWO_FILE_COMMANDLINE» /* optional */ 44 #define TWO_FILE_COMMANDLINE /* optional */
46 #define USE_SETMODE» » /* Microsoft has setmode() */ 45 #define USE_SETMODE /* Microsoft has setmode() */
47 #undef NEED_SIGNAL_CATCHER 46 #undef NEED_SIGNAL_CATCHER
48 #undef DONT_USE_B_MODE 47 #undef DONT_USE_B_MODE
49 #undef PROGRESS_REPORT» » /* optional */ 48 #undef PROGRESS_REPORT /* optional */
50 49
51 #endif /* JPEG_CJPEG_DJPEG */ 50 #endif /* JPEG_CJPEG_DJPEG */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698