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

Side by Side Diff: third_party/libjpeg/jinclude.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « third_party/lcms2-2.6/src/cmserr.c ('k') | third_party/libtiff/tiffconf.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 * jinclude.h 2 * jinclude.h
3 * 3 *
4 * Copyright (C) 1991-1994, Thomas G. Lane. 4 * Copyright (C) 1991-1994, 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 exists to provide a single place to fix any problems with 8 * This file exists to provide a single place to fix any problems with
9 * including the wrong system include files. (Common problems are taken 9 * including the wrong system include files. (Common problems are taken
10 * care of by the standard jconfig symbols, but on really weird systems 10 * care of by the standard jconfig symbols, but on really weird systems
11 * you may have to edit this file.) 11 * you may have to edit this file.)
12 * 12 *
13 * NOTE: this file is NOT intended to be included by applications using the 13 * NOTE: this file is NOT intended to be included by applications using the
14 * JPEG library. Most applications need only include jpeglib.h. 14 * JPEG library. Most applications need only include jpeglib.h.
15 */ 15 */
16 16
17 17
18 /* Include auto-config file to find out which system include files we need. */ 18 /* Include auto-config file to find out which system include files we need. */
19 19
20 #include "jconfig.h" /* auto configuration options */ 20 #include "jconfig.h" /* auto configuration options */
21 #define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */ 21 #define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */
22 22
23 #include "core/fxcrt/include/fx_system.h" 23 #include "core/fxcrt/fx_system.h"
24 24
25 /* 25 /*
26 * We need the NULL macro and size_t typedef. 26 * We need the NULL macro and size_t typedef.
27 * On an ANSI-conforming system it is sufficient to include <stddef.h>. 27 * On an ANSI-conforming system it is sufficient to include <stddef.h>.
28 * Otherwise, we get them from <stdlib.h> or <stdio.h>; we may have to 28 * Otherwise, we get them from <stdlib.h> or <stdio.h>; we may have to
29 * pull in <sys/types.h> as well. 29 * pull in <sys/types.h> as well.
30 * Note that the core JPEG library does not require <stdio.h>; 30 * Note that the core JPEG library does not require <stdio.h>;
31 * only the default error handler and data source/destination modules do. 31 * only the default error handler and data source/destination modules do.
32 * But we must pull it in because of the references to FILE in jpeglib.h. 32 * But we must pull it in because of the references to FILE in jpeglib.h.
33 * You can remove those references if you want to compile without <stdio.h>. 33 * You can remove those references if you want to compile without <stdio.h>.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 /* 94 /*
95 * The modules that use fread() and fwrite() always invoke them through 95 * The modules that use fread() and fwrite() always invoke them through
96 * these macros. On some systems you may need to twiddle the argument casts. 96 * these macros. On some systems you may need to twiddle the argument casts.
97 * CAUTION: argument order is different from underlying functions! 97 * CAUTION: argument order is different from underlying functions!
98 */ 98 */
99 99
100 #define JFREAD(file,buf,sizeofbuf) \ 100 #define JFREAD(file,buf,sizeofbuf) \
101 ((size_t) FXSYS_fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file) )) 101 ((size_t) FXSYS_fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file) ))
102 #define JFWRITE(file,buf,sizeofbuf) \ 102 #define JFWRITE(file,buf,sizeofbuf) \
103 ((size_t) FXSYS_fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) 103 ((size_t) FXSYS_fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
OLDNEW
« no previous file with comments | « third_party/lcms2-2.6/src/cmserr.c ('k') | third_party/libtiff/tiffconf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698