]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/chkconf.h
2 * Name: wx/palmos/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: William Osborne
8 * Copyright: (c) William Osborne
9 * Licence: wxWindows licence
12 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
14 #ifndef _WX_PALMOS_CHKCONF_H_
15 #define _WX_PALMOS_CHKCONF_H_
17 #if WXWIN_COMPATIBILITY_2_4
18 #error "wxPalmOS port was introduced after 2.4.X"
22 * disable the settings which don't work for some compilers
26 * If using PostScript-in-MSW in Univ, must enable PostScript
28 #if defined(__WXUNIVERSAL__) && wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT
29 #undef wxUSE_POSTSCRIPT
30 #define wxUSE_POSTSCRIPT 1
33 #ifndef wxUSE_NORLANDER_HEADERS
34 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1200)) || defined(__WINE__) || ((defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))))
35 # define wxUSE_NORLANDER_HEADERS 1
37 # define wxUSE_NORLANDER_HEADERS 0
42 * GCC does not have SEH (__try/__catch)
46 #undef wxUSE_ON_FATAL_EXCEPTION
47 #define wxUSE_ON_FATAL_EXCEPTION 0
51 * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
54 #if defined(__MWERKS__)
55 #undef wxUSE_DEBUG_NEW_ALWAYS
56 #define wxUSE_DEBUG_NEW_ALWAYS 0
59 #if defined(__GNUWIN32__)
60 /* These don't work as expected for mingw32 and cygwin32 */
61 #undef wxUSE_MEMORY_TRACING
62 #define wxUSE_MEMORY_TRACING 0
64 #undef wxUSE_GLOBAL_MEMORY_OPERATORS
65 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
67 #undef wxUSE_DEBUG_NEW_ALWAYS
68 #define wxUSE_DEBUG_NEW_ALWAYS 0
70 /* Cygwin betas don't have wcslen */
71 #if defined(__CYGWIN__) || defined(__CYGWIN32__)
72 # if ! ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))
74 # define wxUSE_WCHAR_T 0
81 /* MFC duplicates these operators */
83 #undef wxUSE_GLOBAL_MEMORY_OPERATORS
84 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
86 #undef wxUSE_DEBUG_NEW_ALWAYS
87 #define wxUSE_DEBUG_NEW_ALWAYS 0
91 #if (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)
92 /* GnuWin32 doesn't have appropriate headers for e.g. IUnknown. */
93 #undef wxUSE_DRAG_AND_DROP
94 #define wxUSE_DRAG_AND_DROP 0
97 #if !wxUSE_OWNER_DRAWN
98 #undef wxUSE_CHECKLISTBOX
99 #define wxUSE_CHECKLISTBOX 0
103 /* _WX_PALMOS_CHKCONF_H_ */