From 82b99cf952504cd5c6e6c1f6f93756c609f2905c Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 23 Oct 2006 21:46:13 +0000 Subject: [PATCH] Rename WX[F]FILE_LARGEFILE to wxHAS_LARGE_[F]FILES. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 6 +++--- src/common/fileback.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index b3d3d23958..be3b3f1b53 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -314,7 +314,7 @@ enum wxFileKind // doesn't have large file support with any Windows compiler (even // Win64 ones). #if wxUSE_FILE - #define WXFILE_LARGEFILE 1 + #define wxHAS_LARGE_FILES #endif #endif @@ -328,11 +328,11 @@ enum wxFileKind BadFileSizeType ); // wxFile is present and supports large files #ifdef wxUSE_FILE - #define WXFILE_LARGEFILE + #define wxHAS_LARGE_FILES #endif // wxFFile is present and supports large files #if SIZEOF_LONG == 8 || defined HAVE_FSEEKO - #define WXFFILE_LARGEFILE + #define wxHAS_LARGE_FFILES #endif #else #define wxFileOffsetFmtSpec _T("") diff --git a/src/common/fileback.cpp b/src/common/fileback.cpp index 8b2261cdea..23d60c349a 100644 --- a/src/common/fileback.cpp +++ b/src/common/fileback.cpp @@ -27,7 +27,7 @@ // Prefer wxFFile unless wxFile has large file support but wxFFile does not. // -#if wxUSE_FFILE && (defined WXFFILE_LARGEFILE || !defined WXFILE_LARGEFILE) +#if wxUSE_FFILE && (defined wxHAS_LARGE_FFILES || !defined wxHAS_LARGE_FILES) typedef wxFFile wxBFFile; static const bool wxBadSeek = false; #else -- 2.45.2