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 */ 4 5#define HAVE_PROTOTYPES 6#define HAVE_UNSIGNED_CHAR 7#define HAVE_UNSIGNED_SHORT 8/* #define void char */ 9/* #define const */ 10#undef CHAR_IS_UNSIGNED 11#define HAVE_STDDEF_H 12#define HAVE_STDLIB_H 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 18 19/* Define "boolean" as unsigned char, not enum, per Windows custom */ 20#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ 21typedef unsigned char boolean; 22#endif 23#ifndef FALSE /* in case these macros already exist */ 24#define FALSE 0 /* values of boolean */ 25#endif 26#ifndef TRUE 27#define TRUE 1 28#endif 29#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ 30 31 32#ifdef JPEG_INTERNALS 33 34#undef RIGHT_SHIFT_IS_UNSIGNED 35 36#endif /* JPEG_INTERNALS */ 37 38#ifdef JPEG_CJPEG_DJPEG 39 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 */ 45 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 */ 51 52#endif /* JPEG_CJPEG_DJPEG */ 53