]>
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"
21 #ifdef wxUSE_FILECONFIG
22 #undef wxUSE_FILECONFIG
24 #define wxUSE_FILECONFIG 0
27 * disable the settings which don't work for some compilers
31 * If using PostScript-in-MSW in Univ, must enable PostScript
33 #if defined(__WXUNIVERSAL__) && wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT
34 #undef wxUSE_POSTSCRIPT
35 #define wxUSE_POSTSCRIPT 1
38 #ifndef wxUSE_NORLANDER_HEADERS
39 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1200)) || defined(__WINE__) || ((defined(__MINGW32__) || defined(__CYGWIN__)) && ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95))))
40 # define wxUSE_NORLANDER_HEADERS 1
42 # define wxUSE_NORLANDER_HEADERS 0
47 * GCC does not have SEH (__try/__catch)
51 #undef wxUSE_ON_FATAL_EXCEPTION
52 #define wxUSE_ON_FATAL_EXCEPTION 0
56 * wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
59 #if defined(__MWERKS__)
60 #undef wxUSE_DEBUG_NEW_ALWAYS
61 #define wxUSE_DEBUG_NEW_ALWAYS 0
64 #if defined(__GNUWIN32__)
65 /* These don't work as expected for mingw32 and cygwin32 */
66 #undef wxUSE_MEMORY_TRACING
67 #define wxUSE_MEMORY_TRACING 0
69 #undef wxUSE_GLOBAL_MEMORY_OPERATORS
70 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
72 #undef wxUSE_DEBUG_NEW_ALWAYS
73 #define wxUSE_DEBUG_NEW_ALWAYS 0
75 /* Cygwin betas don't have wcslen */
76 #if defined(__CYGWIN__) || defined(__CYGWIN32__)
77 # if ! ((__GNUC__>2) ||((__GNUC__==2) && (__GNUC_MINOR__>=95)))
79 # define wxUSE_WCHAR_T 0
86 /* MFC duplicates these operators */
88 #undef wxUSE_GLOBAL_MEMORY_OPERATORS
89 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
91 #undef wxUSE_DEBUG_NEW_ALWAYS
92 #define wxUSE_DEBUG_NEW_ALWAYS 0
96 #if (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)
97 /* GnuWin32 doesn't have appropriate headers for e.g. IUnknown. */
98 #undef wxUSE_DRAG_AND_DROP
99 #define wxUSE_DRAG_AND_DROP 0
102 #if !wxUSE_OWNER_DRAWN
103 #undef wxUSE_CHECKLISTBOX
104 #define wxUSE_CHECKLISTBOX 0
108 /* _WX_PALMOS_CHKCONF_H_ */