From: David Elliott Date: Sun, 20 Feb 2005 02:19:52 +0000 (+0000) Subject: Don't automatically define WX_PRECOMP when building using configure. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/248eaddf7a14cefa161d514763e8fefb8d6f2f79 Don't automatically define WX_PRECOMP when building using configure. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index 5e34e7089c..4037833a48 100644 --- a/include/wx/wxprec.h +++ b/include/wx/wxprec.h @@ -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