Changed the _MSC_VER check to <= 1700 to support VS2012.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14989 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
0d120d208b
commit
13a5608975
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user