1 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 9x or NT. */
2 /* This file also works for Borland C++ 32-bit (bcc32) on Windows 9x or NT. */
3 /* see jconfig.txt for explanations */
5 #define HAVE_PROTOTYPES
6 #define HAVE_UNSIGNED_CHAR
7 #define HAVE_UNSIGNED_SHORT
8 /* #define void char */
10 #undef CHAR_IS_UNSIGNED
13 #undef NEED_BSD_STRINGS
14 #undef NEED_SYS_TYPES_H
15 #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
16 #undef NEED_SHORT_EXTERNAL_NAMES
17 #undef INCOMPLETE_TYPES_BROKEN
19 /* Define "boolean" as unsigned char, not enum, per Windows custom */
20 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
21 typedef unsigned char boolean;
23 #ifndef FALSE /* in case these macros already exist */
24 #define FALSE 0 /* values of boolean */
29 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
34 #undef RIGHT_SHIFT_IS_UNSIGNED
36 #endif /* JPEG_INTERNALS */
38 #ifdef JPEG_CJPEG_DJPEG
40 #define BMP_SUPPORTED /* BMP image file format */
41 #define GIF_SUPPORTED /* GIF image file format */
42 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
43 #undef RLE_SUPPORTED /* Utah RLE image file format */
44 #define TARGA_SUPPORTED /* Targa image file format */
46 #define TWO_FILE_COMMANDLINE /* optional */
47 #define USE_SETMODE /* Microsoft has setmode() */
48 #undef NEED_SIGNAL_CATCHER
49 #undef DONT_USE_B_MODE
50 #undef PROGRESS_REPORT /* optional */
52 #endif /* JPEG_CJPEG_DJPEG */