be4b5c39307b9b9f2a18a5cf531a7c51773cd962
[platform/upstream/libjpeg-turbo.git] / win / jconfig.h.in
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 #cmakedefine C_ARITH_CODING_SUPPORTED
7 #cmakedefine D_ARITH_CODING_SUPPORTED
8
9 #define HAVE_PROTOTYPES
10 #define HAVE_UNSIGNED_CHAR
11 #define HAVE_UNSIGNED_SHORT
12 /* #define void char */
13 /* #define const */
14 #undef CHAR_IS_UNSIGNED
15 #define HAVE_STDDEF_H
16 #define HAVE_STDLIB_H
17 #undef NEED_BSD_STRINGS
18 #undef NEED_SYS_TYPES_H
19 #undef NEED_FAR_POINTERS        /* we presume a 32-bit flat memory model */
20 #undef NEED_SHORT_EXTERNAL_NAMES
21 #undef INCOMPLETE_TYPES_BROKEN
22
23 /* Define "boolean" as unsigned char, not int, per Windows custom */
24 #ifndef __RPCNDR_H__            /* don't conflict if rpcndr.h already read */
25 typedef unsigned char boolean;
26 #endif
27 #define HAVE_BOOLEAN            /* prevent jmorecfg.h from redefining it */
28
29 /* Define "INT32" as int, not long, per Windows custom */
30 #if !(defined(_BASETSD_H_) || defined(_BASETSD_H))   /* don't conflict if basetsd.h already read */
31 typedef short INT16;
32 typedef signed int INT32;
33 #endif
34 #define XMD_H                   /* prevent jmorecfg.h from redefining it */
35
36 #ifdef JPEG_INTERNALS
37
38 #undef RIGHT_SHIFT_IS_UNSIGNED
39
40 #endif /* JPEG_INTERNALS */