libCom/test: Fix for MSVS 2015
This commit is contained in:
committed by
Andrew Johnson
parent
9e82a96700
commit
d32332d545
@@ -35,7 +35,9 @@ const nothrow_t nothrow ;
|
||||
|
||||
#if defined ( _MSC_VER )
|
||||
// some interesting bugs found in the MS implementation of new
|
||||
# if _MSC_VER > 1310 /* this gets fixed some release after visual studio 7 we hope */
|
||||
# if _MSC_VER >= 1900
|
||||
static size_t unsuccessfulNewSize = numeric_limits < size_t > :: max ();
|
||||
# elif _MSC_VER > 1310 /* this gets fixed some release after visual studio 7 we hope */
|
||||
static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max ();
|
||||
# else
|
||||
static const size_t unsuccessfulNewSize = numeric_limits < size_t > :: max () - 100;
|
||||
|
||||
Reference in New Issue
Block a user