]> git.saurik.com Git - wxWidgets.git/blame - src/jpeg/jconfig.h
WinCE project and wxDC corrections
[wxWidgets.git] / src / jpeg / jconfig.h
CommitLineData
ea64e17a
JS
1/* This test added by JACS as a quick fix. What should we do
2 * to make it work with configure?
3 */
4
38a87cfe 5#if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__DMC__)
ea64e17a
JS
6#include "jconfig.vc"
7#else
8
67246ede
RR
9/* jconfig.h. Generated automatically by configure. */
10/* jconfig.cfg --- source file edited by configure script */
11/* see jconfig.doc for explanations */
12
d9f39e09 13/* use wxWindows' configure */
519cb848 14#ifdef __MWERKS__
84e7f94c 15#if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
519cb848
SC
16 #define __WXMAC__
17 #define USE_MAC_MEMMGR
84e7f94c
SC
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
519cb848
SC
25// automatically includes MacHeaders
26#elif (__MWERKS__ >= 0x0900) && __INTEL__
27 #define __WXMSW__
28#endif
29#endif
30
d9f39e09
RR
31#include "wx/setup.h"
32
16a12a3d
DW
33#define HAVE_PROTOTYPES
34#define HAVE_UNSIGNED_CHAR
35#define HAVE_UNSIGNED_SHORT
67246ede
RR
36#undef void
37#undef const
d9f39e09
RR
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
16a12a3d
DW
49#define HAVE_STDDEF_H
50#define HAVE_STDLIB_H
67246ede
RR
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
d9f39e09
RR
61
62/* use wxWindows' configure */
63/* #define INLINE __inline__ */
0dfef5a8
DW
64#if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
65#define INLINE
f6bcfd97
BP
66#elif defined(__WATCOMC__)
67#define INLINE
0dfef5a8 68#else
d9f39e09 69#define INLINE inline
0dfef5a8 70#endif
d9f39e09 71
67246ede
RR
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 */
ea64e17a
JS
94#endif
95 /* _MSC_VER */
96