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