Debian Codegraph @

ThirdParty/LibJPEG/jconfig.vc

raw
1 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
2 /* see jconfig.doc for explanations */
3
4 #define _CRT_SECURE_NO_DEPRECATE 1 // Undeprecate CRT functions
5
6 #define HAVE_PROTOTYPES
7 #define HAVE_UNSIGNED_CHAR
8 #define HAVE_UNSIGNED_SHORT
9 /* #define void char */
10 /* #define const */
11 #undef CHAR_IS_UNSIGNED
12 #define HAVE_STDDEF_H
13 #define HAVE_STDLIB_H
14 #undef NEED_BSD_STRINGS
15 #undef NEED_SYS_TYPES_H
16 #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
17 #undef NEED_SHORT_EXTERNAL_NAMES
18 #undef INCOMPLETE_TYPES_BROKEN
19
20 /* Define "boolean" as unsigned char, not int, per Windows custom */
21 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
22 typedef unsigned char boolean;
23 #endif
24 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
25
26
27 #ifdef JPEG_INTERNALS
28
29 #undef RIGHT_SHIFT_IS_UNSIGNED
30
31 #endif /* JPEG_INTERNALS */
32
33 #ifdef JPEG_CJPEG_DJPEG
34
35 #define BMP_SUPPORTED /* BMP image file format */
36 #define GIF_SUPPORTED /* GIF image file format */
37 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
38 #undef RLE_SUPPORTED /* Utah RLE image file format */
39 #define TARGA_SUPPORTED /* Targa image file format */
40
41 #define TWO_FILE_COMMANDLINE /* optional */
42 #define USE_SETMODE /* Microsoft has setmode() */
43 #undef NEED_SIGNAL_CATCHER
44 #undef DONT_USE_B_MODE
45 #undef PROGRESS_REPORT /* optional */
46
47 #endif /* JPEG_CJPEG_DJPEG */