diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-16 01:48:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-17 22:39:16 +0300 |
commit | 21fddf7d1c0653881773e44cea6e9d0804a08b31 (patch) | |
tree | cf3179fce0393c9cc2577d546db790d5f7705694 /source/blender/blenlib/BLI_math_base.h | |
parent | 2b73402547a7c765f302a0d4218f96b5a710e96f (diff) |
C99/C++11: replace deprecated finite() by isfinite().
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 20b76354f58..e97a250cd24 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -37,10 +37,6 @@ #include <math.h> #include "BLI_math_inline.h" -#ifdef __sun__ -#include <ieeefp.h> /* for finite() */ -#endif - #ifndef M_PI #define M_PI 3.14159265358979323846 /* pi */ #endif @@ -146,12 +142,6 @@ static const int NAN_INT = 0x7FC00000; #endif /* C99, POSIX.1-2001 or MSVC12 (partial C99) */ -#ifdef WIN32 -# if defined(_MSC_VER) -# define finite(n) _finite(n) -# endif -#endif - #if BLI_MATH_DO_INLINE #include "intern/math_base_inline.c" #endif |