diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index f2e143138f6..3a12b914014 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -171,6 +171,11 @@ MINLINE float power_of_2(float f); MINLINE float shell_angle_to_dist(float angle); +#if (defined(WIN32) || defined(WIN64)) && !defined(FREE_WINDOWS) +double copysign(double x, double y); +double round(double x); +#endif + double double_round(double x, int ndigits); #ifdef __cplusplus