]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't automatically define WX_PRECOMP when building using configure.
authorDavid Elliott <dfe@tgwbd.org>
Sun, 20 Feb 2005 02:19:52 +0000 (02:19 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 20 Feb 2005 02:19:52 +0000 (02:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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