diff options
author | Thomas Dinges <blender@dingto.org> | 2014-08-07 15:51:05 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-08-07 15:52:15 +0400 |
commit | e3ed13cbd47098ccc1815ed0c010e814a5e18bcc (patch) | |
tree | abc0f622eb836cc0f00d5659ef7e7566f976da0a /source/blender/blenlib/BLI_math_base.h | |
parent | f82dda557ca062ac7f6641d8379ca9b699ce875c (diff) |
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
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 11 |
1 files changed, 0 insertions, 11 deletions
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 |