]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 20:21:49 +0000 (20:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 20:21:49 +0000 (20:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/chkconf.h

index 85990ed350618b75958d19a10a1f0889b7fa815c..e760e1f1f9616a4309e9c625737eabc1471f4290 100644 (file)
 
 #endif /* __GNUWIN32__ */
 
+/* wxUSE_MFC is not defined when using configure as it doesn't make sense for
+   gcc or mingw32 anyhow */
+#ifndef wxUSE_MFC
+    #define wxUSE_MFC 0
+#endif /* !defined(wxUSE_MFC) */
+
 /* MFC duplicates these operators */
 #if wxUSE_MFC
 #   undef  wxUSE_GLOBAL_MEMORY_OPERATORS