]> git.saurik.com Git - wxWidgets.git/blame - src/jpeg/jconfig.h
Simplify wxFileNameFromPath() implementation to avoid redundancy.
[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
e520834a 58#ifndef HAVE_STDDEF_H
16a12a3d 59#define HAVE_STDDEF_H
e520834a
SC
60#endif
61
62#ifndef HAVE_STDLIB_H
16a12a3d 63#define HAVE_STDLIB_H
e520834a
SC
64#endif
65
67246ede
RR
66#undef NEED_BSD_STRINGS
67#undef NEED_SYS_TYPES_H
68#undef NEED_FAR_POINTERS
69#undef NEED_SHORT_EXTERNAL_NAMES
70/* Define this if you get warnings about undefined structures. */
71#undef INCOMPLETE_TYPES_BROKEN
72
73#ifdef JPEG_INTERNALS
74
75#undef RIGHT_SHIFT_IS_UNSIGNED
d9f39e09 76
77ffb593 77/* use wxWidgets' configure */
d9f39e09 78/* #define INLINE __inline__ */
0dfef5a8
DW
79#if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
80#define INLINE
f6bcfd97
BP
81#elif defined(__WATCOMC__)
82#define INLINE
0dfef5a8 83#else
d9f39e09 84#define INLINE inline
0dfef5a8 85#endif
d9f39e09 86
67246ede
RR
87/* These are for configuring the JPEG memory manager. */
88#undef DEFAULT_MAX_MEM
89#undef NO_MKTEMP
90
91#endif /* JPEG_INTERNALS */
92
93#ifdef JPEG_CJPEG_DJPEG
94
95#define BMP_SUPPORTED /* BMP image file format */
96#define GIF_SUPPORTED /* GIF image file format */
97#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
98#undef RLE_SUPPORTED /* Utah RLE image file format */
99#define TARGA_SUPPORTED /* Targa image file format */
100
101#undef TWO_FILE_COMMANDLINE
102#undef NEED_SIGNAL_CATCHER
103#undef DONT_USE_B_MODE
104
105/* Define this if you want percent-done progress reports from cjpeg/djpeg. */
106#undef PROGRESS_REPORT
107
108#endif /* JPEG_CJPEG_DJPEG */
ea64e17a
JS
109#endif
110 /* _MSC_VER */
111