#include "wx/filefn.h"
#include "wx/datetime.h"
#include "wx/intl.h"
+#include "wx/longlong.h"
#if wxUSE_FILE
class WXDLLIMPEXP_FWD_BASE wxFile;
#if wxUSE_LONGLONG
// error code of wxFileName::GetSize()
-extern wxULongLong wxInvalidSize;
+extern WXDLLIMPEXP_DATA_BASE(const wxULongLong) wxInvalidSize;
#endif // wxUSE_LONGLONG
}
#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