]> git.saurik.com Git - wxWidgets.git/commitdiff
guarding preproc variable against undefined
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 2 Aug 2008 04:47:39 +0000 (04:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 2 Aug 2008 04:47:39 +0000 (04:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/overlay.h

index c48639ee85bb546a627d4a7416c18b9df9ca8190..831fd8f1bafe4fde7b01d24ead24e43e4812d86f 100644 (file)
@@ -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