X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0856acc63d442c4d07ba463bf06056727c72f9d2..3358af0f8754020769c32f211cc9034f62716005:/include/wx/mac/chkconf.h?ds=inline diff --git a/include/wx/mac/chkconf.h b/include/wx/mac/chkconf.h index 103406cf42..916c162574 100644 --- a/include/wx/mac/chkconf.h +++ b/include/wx/mac/chkconf.h @@ -1,5 +1,34 @@ +/* + * Name: wx/mac/chkconf.h + * Purpose: Mac-specific config settings checks + * Author: Vadim Zeitlin + * Modified by: + * Created: 2005-04-05 (extracted from wx/chkconf.h) + * RCS-ID: $Id$ + * Copyright: (c) 2005 Vadim Zeitlin + * Licence: wxWindows licence + */ + +/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */ + +#if wxUSE_UNICODE +# if !TARGET_CARBON +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_UNICODE is only supported for Carbon Targets." +# else +# define wxUSE_UNICODE 0 +# endif +# endif +#endif + +#if wxUSE_STACKWALKER + /* not supported under Mac */ +# undef wxUSE_STACKWALKER +# define wxUSE_STACKWALKER 0 +#endif /* wxUSE_STACKWALKER */ + #ifdef __WXMAC_CLASSIC__ -#include "wx/mac/classic/chkconf.h" +# include "wx/mac/classic/chkconf.h" #else -#include "wx/mac/carbon/chkconf.h" +# include "wx/mac/carbon/chkconf.h" #endif