X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd08f2f766a33014b8d60fbf27f0f41026d7abf7..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 6f3273257d..93b12c5107 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -27,6 +27,7 @@ #include "wx/filefn.h" #include "wx/datetime.h" #include "wx/intl.h" +#include "wx/longlong.h" #if wxUSE_FILE class WXDLLIMPEXP_FWD_BASE wxFile; @@ -86,7 +87,7 @@ enum #if wxUSE_LONGLONG // error code of wxFileName::GetSize() -extern wxULongLong wxInvalidSize; +extern WXDLLIMPEXP_DATA_BASE(const wxULongLong) wxInvalidSize; #endif // wxUSE_LONGLONG @@ -247,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