]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libjpeg/lib/contrib/jconfig.vc
update
[l4.git] / l4 / pkg / libjpeg / lib / contrib / jconfig.vc
1 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
2 /* see jconfig.txt for explanations */
3
4 #define HAVE_PROTOTYPES
5 #define HAVE_UNSIGNED_CHAR
6 #define HAVE_UNSIGNED_SHORT
7 /* #define void char */
8 /* #define const */
9 #undef CHAR_IS_UNSIGNED
10 #define HAVE_STDDEF_H
11 #define HAVE_STDLIB_H
12 #undef NEED_BSD_STRINGS
13 #undef NEED_SYS_TYPES_H
14 #undef NEED_FAR_POINTERS        /* we presume a 32-bit flat memory model */
15 #undef NEED_SHORT_EXTERNAL_NAMES
16 #undef INCOMPLETE_TYPES_BROKEN
17
18 /* Define "boolean" as unsigned char, not enum, per Windows custom */
19 #ifndef __RPCNDR_H__            /* don't conflict if rpcndr.h already read */
20 typedef unsigned char boolean;
21 #endif
22 #ifndef FALSE                   /* in case these macros already exist */
23 #define FALSE   0               /* values of boolean */
24 #endif
25 #ifndef TRUE
26 #define TRUE    1
27 #endif
28 #define HAVE_BOOLEAN            /* prevent jmorecfg.h from redefining it */
29
30
31 #ifdef JPEG_INTERNALS
32
33 #undef RIGHT_SHIFT_IS_UNSIGNED
34
35 #endif /* JPEG_INTERNALS */
36
37 #ifdef JPEG_CJPEG_DJPEG
38
39 #define BMP_SUPPORTED           /* BMP image file format */
40 #define GIF_SUPPORTED           /* GIF image file format */
41 #define PPM_SUPPORTED           /* PBMPLUS PPM/PGM image file format */
42 #undef RLE_SUPPORTED            /* Utah RLE image file format */
43 #define TARGA_SUPPORTED         /* Targa image file format */
44
45 #define TWO_FILE_COMMANDLINE    /* optional */
46 #define USE_SETMODE             /* Microsoft has setmode() */
47 #undef NEED_SIGNAL_CATCHER
48 #undef DONT_USE_B_MODE
49 #undef PROGRESS_REPORT          /* optional */
50
51 #endif /* JPEG_CJPEG_DJPEG */