]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cw_d.h
Committing in .
[wxWidgets.git] / include / wx / wx_cw_d.h
index f56d8cdc0ab5ab2c4352260a552fdad03b68071b..75a2a5ed2e8bc9ce0b2449c45e965e88165c8368 100644 (file)
@@ -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 <wx_PPC++_d.mch>
@@ -33,6 +36,7 @@
                #include <wx_68k_d.mch>
        #endif
 #endif
+#endif
 
 #endif
     // _WX_CW__