blob: ddcf97e0a9052706987c5d68726cddb47eed77ff [file] [log] [blame]
Peter Åstrand213a72a2008-12-02 09:56:26 +00001/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
Guido Vollbeding5996a252009-06-27 00:00:00 +00002/* see jconfig.txt for explanations */
Peter Åstrand213a72a2008-12-02 09:56:26 +00003
DRCb09fde72010-10-16 08:52:55 +00004#define JPEG_LIB_VERSION @JPEG_LIB_VERSION@
DRCab64b622011-12-18 16:29:35 +00005#define LIBJPEG_TURBO_VERSION @VERSION@
DRC245cfdf2010-11-23 17:11:06 +00006#cmakedefine C_ARITH_CODING_SUPPORTED
7#cmakedefine D_ARITH_CODING_SUPPORTED
DRCab706232013-01-18 23:42:31 +00008#cmakedefine MEM_SRCDST_SUPPORTED
DRCb09fde72010-10-16 08:52:55 +00009
Peter Åstrand213a72a2008-12-02 09:56:26 +000010#define HAVE_PROTOTYPES
11#define HAVE_UNSIGNED_CHAR
12#define HAVE_UNSIGNED_SHORT
13/* #define void char */
14/* #define const */
15#undef CHAR_IS_UNSIGNED
16#define HAVE_STDDEF_H
17#define HAVE_STDLIB_H
18#undef NEED_BSD_STRINGS
19#undef NEED_SYS_TYPES_H
20#undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */
21#undef NEED_SHORT_EXTERNAL_NAMES
22#undef INCOMPLETE_TYPES_BROKEN
23
24/* Define "boolean" as unsigned char, not int, per Windows custom */
25#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
26typedef unsigned char boolean;
27#endif
28#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
29
DRCffdb8f22011-06-21 04:59:41 +000030/* Define "INT32" as int, not long, per Windows custom */
31#if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
32typedef short INT16;
33typedef signed int INT32;
34#endif
35#define XMD_H /* prevent jmorecfg.h from redefining it */
36
Peter Åstrand213a72a2008-12-02 09:56:26 +000037#ifdef JPEG_INTERNALS
38
39#undef RIGHT_SHIFT_IS_UNSIGNED
40
41#endif /* JPEG_INTERNALS */