From: Stefan Csomor Date: Sat, 2 Aug 2008 04:47:39 +0000 (+0000) Subject: guarding preproc variable against undefined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/da712b51d4a4a5e6381d60739f85c3b5e2aa8661?ds=inline guarding preproc variable against undefined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/overlay.h b/include/wx/overlay.h index c48639ee85..831fd8f1ba 100644 --- a/include/wx/overlay.h +++ b/include/wx/overlay.h @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if wxOSX_USE_CARBON +#if defined(__WXMAC__) && wxOSX_USE_CARBON #define wxHAS_NATIVE_OVERLAY 1 #elif defined(__WXDFB__) #define wxHAS_NATIVE_OVERLAY 1