From 21fddf7d1c0653881773e44cea6e9d0804a08b31 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 16 May 2016 00:48:02 +0200 Subject: C99/C++11: replace deprecated finite() by isfinite(). --- source/blender/blenlib/BLI_math_base.h | 10 ---------- 1 file changed, 10 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 20b76354f58..e97a250cd24 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -37,10 +37,6 @@ #include #include "BLI_math_inline.h" -#ifdef __sun__ -#include /* 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 -- cgit v1.2.3