diff --git a/src/osgPlugins/osgjs/json_stream b/src/osgPlugins/osgjs/json_stream index 9c812100c..750fed322 100644 --- a/src/osgPlugins/osgjs/json_stream +++ b/src/osgPlugins/osgjs/json_stream @@ -36,7 +36,7 @@ using namespace std; // * disallow some control characters // * does not support inf or nan values -#if defined(WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<=1600) +#if defined(WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<=1700) inline int isfinite( double x ) { return _finite( x ); } inline int isinf( double x ) { return !_finite( x ) && !_isnan( x ); } #endif