X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..8fb66724c607c755b2b6d470b9694de7038171ec:/include/wx/wx_cw_d.h?ds=inline 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__