]> git.saurik.com Git - wxWidgets.git/blob - src/jpeg/jconfig.h
compilation fix
[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__)
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 wxWindows' configure */
14 #ifdef __MWERKS__
15 #if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
16 #define __WXMAC__
17 #define USE_MAC_MEMMGR
18 #ifdef __MACH__
19 #include <ansi_prefix.mach.h>
20 #include <msl_c_version.h>
21 #include <stdint.h>
22 #undef WCHAR_MAX
23 #include <machine/ansi.h>
24 #endif
25 // automatically includes MacHeaders
26 #elif (__MWERKS__ >= 0x0900) && __INTEL__
27 #define __WXMSW__
28 #endif
29 #endif
30
31 #include "wx/setup.h"
32
33 #define HAVE_PROTOTYPES
34 #define HAVE_UNSIGNED_CHAR
35 #define HAVE_UNSIGNED_SHORT
36 #undef void
37 #undef const
38
39 /* use wxWindows' configure */
40 /* #undef CHAR_IS_UNSIGNED */
41 #ifdef __CHAR_UNSIGNED__
42 #ifndef CHAR_IS_UNSIGNED
43 #define CHAR_IS_UNSIGNED
44 #endif
45 #else
46 #undef CHAR_IS_UNSIGNED
47 #endif
48
49 #define HAVE_STDDEF_H
50 #define HAVE_STDLIB_H
51 #undef NEED_BSD_STRINGS
52 #undef NEED_SYS_TYPES_H
53 #undef NEED_FAR_POINTERS
54 #undef NEED_SHORT_EXTERNAL_NAMES
55 /* Define this if you get warnings about undefined structures. */
56 #undef INCOMPLETE_TYPES_BROKEN
57
58 #ifdef JPEG_INTERNALS
59
60 #undef RIGHT_SHIFT_IS_UNSIGNED
61
62 /* use wxWindows' configure */
63 /* #define INLINE __inline__ */
64 #if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
65 #define INLINE
66 #elif defined(__WATCOMC__)
67 #define INLINE
68 #else
69 #define INLINE inline
70 #endif
71
72 /* These are for configuring the JPEG memory manager. */
73 #undef DEFAULT_MAX_MEM
74 #undef NO_MKTEMP
75
76 #endif /* JPEG_INTERNALS */
77
78 #ifdef JPEG_CJPEG_DJPEG
79
80 #define BMP_SUPPORTED /* BMP image file format */
81 #define GIF_SUPPORTED /* GIF image file format */
82 #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
83 #undef RLE_SUPPORTED /* Utah RLE image file format */
84 #define TARGA_SUPPORTED /* Targa image file format */
85
86 #undef TWO_FILE_COMMANDLINE
87 #undef NEED_SIGNAL_CATCHER
88 #undef DONT_USE_B_MODE
89
90 /* Define this if you want percent-done progress reports from cjpeg/djpeg. */
91 #undef PROGRESS_REPORT
92
93 #endif /* JPEG_CJPEG_DJPEG */
94 #endif
95 /* _MSC_VER */
96