compilation fixes for wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,7 +139,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if wxUSE_LONGLONG
|
||||
wxULongLong wxInvalidSize = (unsigned)-1;
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -2317,6 +2319,8 @@ bool wxFileName::GetTimes(wxDateTime *dtAccess,
|
||||
// file size functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_LONGLONG
|
||||
|
||||
/* static */
|
||||
wxULongLong wxFileName::GetSize(const wxString &filename)
|
||||
{
|
||||
@@ -2385,6 +2389,7 @@ wxString wxFileName::GetHumanReadableSize(const wxString &failmsg, int precision
|
||||
return GetHumanReadableSize(GetSize(), failmsg, precision);
|
||||
}
|
||||
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Mac-specific functions
|
||||
|
||||
Reference in New Issue
Block a user