]> git.saurik.com Git - wxWidgets.git/blob - src/jpeg/jconfig.h
applying patch, fixes #10523
[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 #define HAVE_STDDEF_H
59 #define HAVE_STDLIB_H
60 #undef NEED_BSD_STRINGS
61 #undef NEED_SYS_TYPES_H
62 #undef NEED_FAR_POINTERS
63 #undef NEED_SHORT_EXTERNAL_NAMES
64 /* Define this if you get warnings about undefined structures. */
65 #undef INCOMPLETE_TYPES_BROKEN
66
67 #ifdef JPEG_INTERNALS
68
69 #undef RIGHT_SHIFT_IS_UNSIGNED
70
71 /* use wxWidgets' configure */
72 /* #define INLINE __inline__ */
73 #if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
74 #define INLINE
75 #elif defined(__WATCOMC__)
76 #define INLINE
77 #else
78 #define INLINE inline
79 #endif
80
81 /* These are for configuring the JPEG memory manager. */
82 #undef DEFAULT_MAX_MEM
83 #undef NO_MKTEMP
84
85 #endif /* JPEG_INTERNALS */
86
87 #ifdef JPEG_CJPEG_DJPEG
88
89 #define BMP_SUPPORTED /* BMP image file format */
90 #define GIF_SUPPORTED /* GIF image file format */
91 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
92 #undef RLE_SUPPORTED /* Utah RLE image file format */
93 #define TARGA_SUPPORTED /* Targa image file format */
94
95 #undef TWO_FILE_COMMANDLINE
96 #undef NEED_SIGNAL_CATCHER
97 #undef DONT_USE_B_MODE
98
99 /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
100 #undef PROGRESS_REPORT
101
102 #endif /* JPEG_CJPEG_DJPEG */
103 #endif
104 /* _MSC_VER */
105