]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxprec.h
undid flags values change, it's not as backwards compatible as I thought
[wxWidgets.git] / include / wx / wxprec.h
index 5e34e7089cdb710fb2a64afef86fa1c890ff8b31..4037833a48c7c5f66a27792c7ba51413e1e47a0b 100644 (file)
@@ -22,7 +22,9 @@
       defined(__VISAGECPP__) || \
       defined(__MWERKS__)
 
-    #if !defined(NOPCH)
+    // If user did not request NOCPH and we're not building using configure
+    // then assume user wants precompiled headers.
+    #if !defined(NOPCH) && !defined(__WX_SETUP_H__)
         #define WX_PRECOMP
     #endif
 #endif