X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/337dc4c1f68c96f5fe3f8d3e7ddf17dbf8ce773f..ec8565f3c5d1df72267cb1e3375789090ac091da:/include/wx/chkconf.h?ds=inline diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index d93f2eab61..1de81cba3d 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -17,6 +17,8 @@ #if defined(__WXPALMOS__) # include "wx/palmos/chkconf.h" +#elif defined(__WXWINCE__) +# include "wx/msw/wince/chkconf.h" #elif defined(__WXMSW__) # include "wx/msw/chkconf.h" #elif defined(__WXMAC__) @@ -54,6 +56,12 @@ # define wxUSE_EXCEPTIONS 0 #endif /* wxNO_EXCEPTIONS */ +/* we also must disable exceptions if compiler doesn't support them */ +#if defined(_MSC_VER) && !defined(_CPPUNWIND) +# undef wxUSE_EXCEPTIONS +# define wxUSE_EXCEPTIONS 0 +#endif /* VC++ without exceptions support */ + /* tests for non GUI features @@ -170,6 +178,14 @@ # endif #endif /* !defined(wxUSE_REGEX) */ +#ifndef wxUSE_STDPATHS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_STDPATHS must be defined." +# else +# define wxUSE_STDPATHS 1 +# endif +#endif /* !defined(wxUSE_STDPATHS) */ + #ifndef wxUSE_XML # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_XML must be defined."