Fix compile error after recent 9c2bbfb6 commit.

Older C++ compilers use finite instead of isfinite.
This commit is contained in:
Howard Trickey 2017-06-30 07:47:37 -04:00
parent c8fa716c06
commit 1938a81e42
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
#include "ieeefp.h"
#endif
#if __cplusplus < 201103L
#define isfinite finite
#endif
// just use default rounding for platforms where its not available
#ifndef round
#define round(x) (x)