From e3ed13cbd47098ccc1815ed0c010e814a5e18bcc Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 7 Aug 2014 13:51:05 +0200 Subject: Cleanup: Remove special code for Visual Studio 2008. Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow. Differential Revision: https://developer.blender.org/D715 --- source/blender/blenlib/BLI_math_base.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/blenlib/BLI_math_base.h') diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index b3fc1b195ef..b639df4da84 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -147,13 +147,7 @@ static const int NAN_INT = 0x7FC00000; #ifdef WIN32 # if defined(_MSC_VER) -# if (_MSC_VER < 1800) && !defined(isnan) -# define isnan(n) _isnan(n) -# endif # define finite(n) _finite(n) -# if (_MSC_VER < 1800) && !defined(hypot) -# define hypot(a, b) _hypot(a, b) -# endif # endif #endif @@ -241,11 +235,6 @@ MINLINE int mod_i(int i, int n); MINLINE unsigned int highest_order_bit_i(unsigned int n); MINLINE unsigned short highest_order_bit_s(unsigned short n); -#if defined(_MSC_VER) && (_MSC_VER < 1800) -extern double copysign(double x, double y); -extern double round(double x); -#endif - double double_round(double x, int ndigits); #ifdef BLI_MATH_GCC_WARN_PRAGMA -- cgit v1.2.3