fix for __HUGEFILES_SUPPORTED definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,12 +181,16 @@ enum wxSeekMode
|
|||||||
|| ( defined(__DMC__) && defined(__WXMSW__) ) \
|
|| ( defined(__DMC__) && defined(__WXMSW__) ) \
|
||||||
|| ( defined(__WATCOMC__) && defined(__WXMSW__) )
|
|| ( defined(__WATCOMC__) && defined(__WXMSW__) )
|
||||||
|
|
||||||
// Not all of the Win32 compilers do have huge file support, for example
|
// detect compilers which have support for huge files (currently only
|
||||||
// the Digitalmars compiler does not have huge file size support
|
// Digital Mars doesn't)
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
#undef __HUGEFILES_SUPPORTED
|
#undef __HUGEFILES_SUPPORTED
|
||||||
#if _INTEGRAL_MAX_BITS >= 64 && !defined(__DMC__)
|
#if defined(__MINGW32__)
|
||||||
|
#define __HUGEFILES_SUPPORTED 1
|
||||||
|
#elif defined(__DMC__)
|
||||||
|
#define __HUGEFILES_SUPPORTED 0
|
||||||
|
#elif ((_INTEGRAL_MAX_BITS >= 64) || defined(_LARGE_FILES))
|
||||||
#define __HUGEFILES_SUPPORTED 1
|
#define __HUGEFILES_SUPPORTED 1
|
||||||
#else
|
#else
|
||||||
#define __HUGEFILES_SUPPORTED 0
|
#define __HUGEFILES_SUPPORTED 0
|
||||||
|
Reference in New Issue
Block a user