]> git.saurik.com Git - wxWidgets.git/blame - src/jpeg/jconfig.h
use specific linker flags under Mac OS X when linking executables against the
[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
4445e5cb 5#if defined(_MSC_VER) || defined(__BORLANDC__)
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
SC
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
d9f39e09
RR
24#include "wx/setup.h"
25
16a12a3d
DW
26#define HAVE_PROTOTYPES
27#define HAVE_UNSIGNED_CHAR
28#define HAVE_UNSIGNED_SHORT
67246ede
RR
29#undef void
30#undef const
d9f39e09
RR
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
16a12a3d
DW
42#define HAVE_STDDEF_H
43#define HAVE_STDLIB_H
67246ede
RR
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
d9f39e09
RR
54
55/* use wxWindows' configure */
56/* #define INLINE __inline__ */
0dfef5a8
DW
57#if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400)
58#define INLINE
f6bcfd97
BP
59#elif defined(__WATCOMC__)
60#define INLINE
0dfef5a8 61#else
d9f39e09 62#define INLINE inline
0dfef5a8 63#endif
d9f39e09 64
67246ede
RR
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 */
ea64e17a
JS
87#endif
88 /* _MSC_VER */
89