]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't build when __WXMAC__ is defined but __WXMAC_OSX__ is not (i.e. CFM).
authorDavid Elliott <dfe@tgwbd.org>
Sun, 20 Feb 2005 03:45:11 +0000 (03:45 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 20 Feb 2005 03:45:11 +0000 (03:45 +0000)
FIXME: We really ought to put this (as well as the existing __WXWINCE__ check)
into files.bkl but I have no idea how to do it cleanly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/helpext.cpp

index 30e80e68507ec626297abbf26b310ed06f3ec2b8..9f4ef3d109c0e271efed31733fc60dcc87c13c1e 100644 (file)
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
-#if wxUSE_HELP && !defined(__WXWINCE__)
+#if wxUSE_HELP && !defined(__WXWINCE__) && (!defined(__WXMAC__) || defined(__WXMAC_OSX__))
 
 #ifndef WX_PRECOMP
     #include "wx/setup.h"
 
 #ifndef WX_PRECOMP
     #include "wx/setup.h"