don't redefine __WXMAC__
[wxWidgets.git] / src / jpeg / jconfig.h
1 /* This test added by JACS as a quick fix. What should we do
2 * to make it work with configure?
3 */
4
5 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__DMC__)
6 #include "jconfig.vc"
7 #else
8
9 /* jconfig.h. Generated automatically by configure. */
10 /* jconfig.cfg --- source file edited by configure script */
11 /* see jconfig.doc for explanations */
12
13 /* use wxWidgets' configure */
14 #ifdef __MWERKS__
15 #if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
16 # ifndef __WXMAC__
17 # define __WWXMAC__
18 # endif
19
20 # define USE_MAC_MEMMGR
21
22 # ifdef __MACH__
23 # include <ansi_prefix.mach.h>
24 # include <msl_c_version.h>
25 # include <stdint.h>
26 # undef WCHAR_MAX
27 # include <machine/ansi.h>
28 # endif
29
30 // automatically includes MacHeaders
31 #elif (__MWERKS__ >= 0x0900) && __INTEL__
32 #define __WXMSW__
33 #endif
34 #endif
35
36 #include "wx/setup.h"
37
38 #define HAVE_PROTOTYPES
39 #define HAVE_UNSIGNED_CHAR
40 #define HAVE_UNSIGNED_SHORT
41 #undef void
42 #undef const
43
44 /* use wxWidgets' configure */
45 /* #undef CHAR_IS_UNSIGNED */
46 #ifdef __CHAR_UNSIGNED__
47 #ifndef CHAR_IS_UNSIGNED
48 #define CHAR_IS_UNSIGNED
49 #endif
50 #else
51 #undef CHAR_IS_UNSIGNED
52 #endif
53
54 #define HAVE_STDDEF_H
55 #define HAVE_STDLIB_H
56 #undef NEED_BSD_STRINGS
57 #undef NEED_SYS_TYPES_H
58 #undef NEED_FAR_POINTERS
59 #undef NEED_SHORT_EXTERNAL_NAMES
60 /* Define this if you get warnings about undefined structures. */
61 #undef INCOMPLETE_TYPES_BROKEN
62
63 #ifdef JPEG_INTERNALS
64
65 #undef RIGHT_SHIFT_IS_UNSIGNED
66
67 /* use wxWidgets' configure */
68 /* #define INLINE __inline__ */
69 #if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
70 #define INLINE
71 #elif defined(__WATCOMC__)
72 #define INLINE
73 #else
74 #define INLINE inline
75 #endif
76
77 /* These are for configuring the JPEG memory manager. */
78 #undef DEFAULT_MAX_MEM
79 #undef NO_MKTEMP
80
81 #endif /* JPEG_INTERNALS */
82
83 #ifdef JPEG_CJPEG_DJPEG
84
85 #define BMP_SUPPORTED /* BMP image file format */
86 #define GIF_SUPPORTED /* GIF image file format */
87 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
88 #undef RLE_SUPPORTED /* Utah RLE image file format */
89 #define TARGA_SUPPORTED /* Targa image file format */
90
91 #undef TWO_FILE_COMMANDLINE
92 #undef NEED_SIGNAL_CATCHER
93 #undef DONT_USE_B_MODE
94
95 /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
96 #undef PROGRESS_REPORT
97
98 #endif /* JPEG_CJPEG_DJPEG */
99 #endif
100 /* _MSC_VER */
101