]> git.saurik.com Git - wxWidgets.git/blame - src/jpeg/jconfig.h
Revised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
[wxWidgets.git] / src / jpeg / jconfig.h
CommitLineData
25c70260 1#if defined(_WIN32) || defined(__OS2__)
ea64e17a
JS
2#include "jconfig.vc"
3#else
4
67246ede
RR
5/* jconfig.h. Generated automatically by configure. */
6/* jconfig.cfg --- source file edited by configure script */
7/* see jconfig.doc for explanations */
8
61775761
DE
9/* If using MetroWerks on Mac define __WXMAC__ if it isn't already
10 FIXME: Is this necessary any longer? */
519cb848 11#ifdef __MWERKS__
84e7f94c 12#if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
d0c57441 13# ifndef __WXMAC__
1f16b850 14# define __WXMAC__
d0c57441 15# endif
61775761
DE
16#endif
17#endif
18
19/* use wxWidgets' configure */
20#include "wx/setup.h"
21
5f8ba10e 22/* If using Metrowerks and not using configure-generated setup */
61775761
DE
23#if defined(__MWERKS__) && !defined(__WX_SETUP_H__)
24#if (__MWERKS__ < 0x0900) || macintosh || defined ( __MACH__ )
d0c57441
DS
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
5f8ba10e 36/* automatically includes MacHeaders */
519cb848
SC
37#elif (__MWERKS__ >= 0x0900) && __INTEL__
38 #define __WXMSW__
39#endif
40#endif
41
16a12a3d
DW
42#define HAVE_PROTOTYPES
43#define HAVE_UNSIGNED_CHAR
44#define HAVE_UNSIGNED_SHORT
67246ede
RR
45#undef void
46#undef const
d9f39e09 47
77ffb593 48/* use wxWidgets' configure */
d9f39e09
RR
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
16a12a3d
DW
58#define HAVE_STDDEF_H
59#define HAVE_STDLIB_H
67246ede
RR
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
d9f39e09 70
77ffb593 71/* use wxWidgets' configure */
d9f39e09 72/* #define INLINE __inline__ */
0dfef5a8
DW
73#if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
74#define INLINE
f6bcfd97
BP
75#elif defined(__WATCOMC__)
76#define INLINE
0dfef5a8 77#else
d9f39e09 78#define INLINE inline
0dfef5a8 79#endif
d9f39e09 80
67246ede
RR
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 */
ea64e17a
JS
103#endif
104 /* _MSC_VER */
105