From: David Elliott Date: Sun, 20 Feb 2005 03:45:11 +0000 (+0000) Subject: Don't build when __WXMAC__ is defined but __WXMAC_OSX__ is not (i.e. CFM). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7e00fd890fa7c544afa2af6e11f8b3d716214cd7 Don't build when __WXMAC__ is defined but __WXMAC_OSX__ is not (i.e. CFM). 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 --- diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index 30e80e6850..9f4ef3d109 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -19,7 +19,7 @@ #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"