]> git.saurik.com Git - wxWidgets.git/blob - src/jpeg/jconfig.h
Use unsigned char for XBM bitmaps data.
[wxWidgets.git] / src / jpeg / jconfig.h
1 #if defined(_WIN32) || defined(__OS2__)
2 #include "jconfig.vc"
3 #else
4
5 /* jconfig.h. Generated automatically by configure. */
6 /* jconfig.cfg --- source file edited by configure script */
7 /* see jconfig.doc for explanations */
8
9 /* If using MetroWerks on Mac define __WXMAC__ if it isn't already
10 FIXME: Is this necessary any longer? */
11 #ifdef __MWERKS__
12 #if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
13 # ifndef __WXMAC__
14 # define __WXMAC__
15 # endif
16 #endif
17 #endif
18
19 /* use wxWidgets' configure */
20 #include "wx/setup.h"
21
22 /* If using Metrowerks and not using configure-generated setup */
23 #if defined(__MWERKS__) && !defined(__WX_SETUP_H__)
24 #if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
25
26 # define USE_MAC_MEMMGR
27
28 # ifdef __MACH__
29 # include <ansi_prefix.mach.h>
30 # include <msl_c_version.h>
31 # include <stdint.h>
32 # undef WCHAR_MAX
33 # include <machine/ansi.h>
34 # endif
35
36 /* automatically includes MacHeaders */
37 #elif (__MWERKS__ >= 0x0900) && __INTEL__
38 #define __WXMSW__
39 #endif
40 #endif
41
42 #define HAVE_PROTOTYPES
43 #define HAVE_UNSIGNED_CHAR
44 #define HAVE_UNSIGNED_SHORT
45 #undef void
46 #undef const
47
48 /* use wxWidgets' configure */
49 /* #undef CHAR_IS_UNSIGNED */
50 #ifdef __CHAR_UNSIGNED__
51 #ifndef CHAR_IS_UNSIGNED
52 #define CHAR_IS_UNSIGNED
53 #endif
54 #else
55 #undef CHAR_IS_UNSIGNED
56 #endif
57
58 #ifndef HAVE_STDDEF_H
59 #define HAVE_STDDEF_H
60 #endif
61
62 #ifndef HAVE_STDLIB_H
63 #define HAVE_STDLIB_H
64 #endif
65
66 #undef NEED_BSD_STRINGS
67 #undef NEED_SYS_TYPES_H
68 #undef NEED_FAR_POINTERS
69 #undef NEED_SHORT_EXTERNAL_NAMES
70 /* Define this if you get warnings about undefined structures. */
71 #undef INCOMPLETE_TYPES_BROKEN
72
73 #ifdef JPEG_INTERNALS
74
75 #undef RIGHT_SHIFT_IS_UNSIGNED
76
77 /* use wxWidgets' configure */
78 /* #define INLINE __inline__ */
79 #if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
80 #define INLINE
81 #elif defined(__WATCOMC__)
82 #define INLINE
83 #else
84 #define INLINE inline
85 #endif
86
87 /* These are for configuring the JPEG memory manager. */
88 #undef DEFAULT_MAX_MEM
89 #undef NO_MKTEMP
90
91 #endif /* JPEG_INTERNALS */
92
93 #ifdef JPEG_CJPEG_DJPEG
94
95 #define BMP_SUPPORTED /* BMP image file format */
96 #define GIF_SUPPORTED /* GIF image file format */
97 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
98 #undef RLE_SUPPORTED /* Utah RLE image file format */
99 #define TARGA_SUPPORTED /* Targa image file format */
100
101 #undef TWO_FILE_COMMANDLINE
102 #undef NEED_SIGNAL_CATCHER
103 #undef DONT_USE_B_MODE
104
105 /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
106 #undef PROGRESS_REPORT
107
108 #endif /* JPEG_CJPEG_DJPEG */
109 #endif
110 /* _MSC_VER */
111