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:
Vadim Zeitlin
2007-07-10 23:19:17 +00:00
parent 8c7f47ddde
commit bd08f2f766
4 changed files with 14 additions and 0 deletions

View File

@@ -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