X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/wx_cw_d.h?ds=sidebyside diff --git a/include/wx/wx_cw_d.h b/include/wx/wx_cw_d.h index f56d8cdc0a..75a2a5ed2e 100644 --- a/include/wx/wx_cw_d.h +++ b/include/wx/wx_cw_d.h @@ -12,6 +12,9 @@ #ifndef _WX_CW__ #define _WX_CW__ +#if __option(profile) +#error "profiling is not supported in debug versions" +#else #ifdef __cplusplus #if __POWERPC__ #include @@ -33,6 +36,7 @@ #include #endif #endif +#endif #endif // _WX_CW__