From f422aafede90d096104f14a112b4ec01e33cf58f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 10 Nov 2010 13:52:10 +0000 Subject: [PATCH] Don't exclude a bunch of wxDir methods when wxUSE_LONGLONG==0. The #endif part of a #if wxUSE_LONGLONG check was incorrectly positioned and excluded the definition of several wxDir methods not related to wxLongLong when wxUSE_LONGLONG was 0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dircmn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index df10285229..f5b0c9fe8a 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -356,6 +356,8 @@ wxULongLong wxDir::GetTotalSize(const wxString &dirname, wxArrayString *filesSki return traverser.GetTotalSize(); } +#endif // wxUSE_LONGLONG + // ---------------------------------------------------------------------------- // wxDir helpers // ---------------------------------------------------------------------------- @@ -378,4 +380,3 @@ bool wxDir::Remove(const wxString &dir, int flags) return wxFileName::Rmdir(dir, flags); } -#endif // wxUSE_LONGLONG -- 2.45.2