std::streamoff is just a (32 bit) long under Win32 with MSVC so extra WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::streamoff) is not needed in this case; this also seems to be the case for Borland and Watcom so assume this is always so for Windows compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,10 +29,13 @@
|
|||||||
|
|
||||||
// when std::streamoff is simply long we don't need this as we already allow
|
// when std::streamoff is simply long we don't need this as we already allow
|
||||||
// comparisons between int and long but we do need it otherwise -- and we don't
|
// comparisons between int and long but we do need it otherwise -- and we don't
|
||||||
// have any way to detect it so for now just assume that all 64 bit builds use
|
// have any way to detect it so for now just assume that all 64 bit Unix builds
|
||||||
// long as streamoff and if this is wrong we'll add a check to configure later
|
// use long as streamoff and if this is wrong we'll add a check to configure
|
||||||
#if SIZEOF_SIZE_T != 8
|
// later
|
||||||
WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::streamoff)
|
#ifndef __WXMSW__
|
||||||
|
#if SIZEOF_SIZE_T != 8
|
||||||
|
WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::streamoff)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
Reference in New Issue
Block a user