diff options
Diffstat (limited to 'extern/curve_fit_nd/intern/curve_fit_cubic_refit.c')
-rw-r--r-- | extern/curve_fit_nd/intern/curve_fit_cubic_refit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c index 46445467869..c78b79d76ef 100644 --- a/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c +++ b/extern/curve_fit_nd/intern/curve_fit_cubic_refit.c @@ -43,6 +43,10 @@ * While re-fitting, remove knots that fall below the error threshold. */ +#ifdef _MSC_VER +# define _USE_MATH_DEFINES +#endif + #include <math.h> #include <float.h> #include <stdbool.h> |