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