X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/060668a1f6328309c6d22fba6f443e21d47db6b1..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/filename.h?ds=sidebyside

diff --git a/include/wx/filename.h b/include/wx/filename.h
index 023366e020..93b12c5107 100644
--- a/include/wx/filename.h
+++ b/include/wx/filename.h
@@ -248,7 +248,7 @@ public:
     }
 #endif // wxUSE_DATETIME
 
-#ifdef __WXMAC__
+#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON
     bool MacSetTypeAndCreator( wxUint32 type , wxUint32 creator ) ;
     bool MacGetTypeAndCreator( wxUint32 *type , wxUint32 *creator ) ;
     // gets the 'common' type and creator for a certain extension