Fix :I broke the build for MSVC 2008 this fixes it

This commit is contained in:
Martijn Berger 2014-01-02 23:32:44 +01:00
parent 1c8a12ee61
commit 46a3752a1f

@ -143,24 +143,17 @@ static const int NAN_INT = 0x7FC00000;
#define copysignf(a, b) ((float)copysign(a, b))
#endif
#else /* C99 or POSIX.1-2001 */
#ifdef WIN32
# ifndef FREE_WINDOWS
# ifndef isnan
# define isnan(n) _isnan(n)
# endif
# ifndef hypot
# define hypot(a, b) _hypot(a, b)
# endif
# endif
#endif
#endif /* C99 or POSIX.1-2001 */
#ifdef WIN32
# ifndef FREE_WINDOWS
# if (!defined isnan) && (_MSC_VER < 1800)
# define isnan(n) _isnan(n)
# endif
# define finite _finite
# if (!defined hypot) && (_MSC_VER < 1800)
# define hypot(a, b) _hypot(a, b)
# endif
# endif
#endif