X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16a12a3d27d3d3e2557bcde15365245ef2675bb4..9c824f2977a2e8a502b0570c5301caa2a547833a:/src/jpeg/jconfig.h diff --git a/src/jpeg/jconfig.h b/src/jpeg/jconfig.h index 83d28b7bdb..e3c94a1717 100644 --- a/src/jpeg/jconfig.h +++ b/src/jpeg/jconfig.h @@ -11,6 +11,16 @@ /* see jconfig.doc for explanations */ /* use wxWindows' configure */ +#ifdef __MWERKS__ +#if (__MWERKS__ < 0x0900) || macintosh + #define __WXMAC__ + #define USE_MAC_MEMMGR +// automatically includes MacHeaders +#elif (__MWERKS__ >= 0x0900) && __INTEL__ + #define __WXMSW__ +#endif +#endif + #include "wx/setup.h" #define HAVE_PROTOTYPES @@ -44,7 +54,11 @@ /* use wxWindows' configure */ /* #define INLINE __inline__ */ +#if defined(__VISAGECPP__) && (__IBMCPP__ >= 400 || __IBMC__ >= 400) +#define INLINE +#else #define INLINE inline +#endif /* These are for configuring the JPEG memory manager. */ #undef DEFAULT_MAX_MEM