1 /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ 2 /* see jconfig.txt for explanations */ 3 4 #define JPEG_LIB_VERSION @JPEG_LIB_VERSION@ 5 #define LIBJPEG_TURBO_VERSION @VERSION@ 6 #define LIBJPEG_TURBO_VERSION_NUMBER @LIBJPEG_TURBO_VERSION_NUMBER@ 7 #cmakedefine C_ARITH_CODING_SUPPORTED 8 #cmakedefine D_ARITH_CODING_SUPPORTED 9 #cmakedefine MEM_SRCDST_SUPPORTED 10 11 /* 12 * Define BITS_IN_JSAMPLE as either 13 * 8 for 8-bit sample values (the usual setting) 14 * 12 for 12-bit sample values 15 * Only 8 and 12 are legal data precisions for lossy JPEG according to the 16 * JPEG standard, and the IJG code does not support anything else! 17 * We do not support run-time selection of data precision, sorry. 18 */ 19 20 #define BITS_IN_JSAMPLE @BITS_IN_JSAMPLE@ /* use 8 or 12 */ 21 22 #define HAVE_UNSIGNED_CHAR 23 #define HAVE_UNSIGNED_SHORT 24 /* #define void char */ 25 /* #define const */ 26 #undef __CHAR_UNSIGNED__ 27 #define HAVE_STDDEF_H 28 #define HAVE_STDLIB_H 29 #undef NEED_BSD_STRINGS 30 #undef NEED_SYS_TYPES_H 31 #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */ 32 #undef INCOMPLETE_TYPES_BROKEN 33 34 /* Define "boolean" as unsigned char, not int, per Windows custom */ 35 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ 36 typedef unsigned char boolean; 37 #endif 38 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ 39 40 /* Define "INT32" as int, not long, per Windows custom */ 41 #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */ 42 typedef short INT16; 43 typedef signed int INT32; 44 #endif 45 #define XMD_H /* prevent jmorecfg.h from redefining it */ 46 47 #ifdef JPEG_INTERNALS 48 49 #undef RIGHT_SHIFT_IS_UNSIGNED 50 51 #endif /* JPEG_INTERNALS */ 52