Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2011-02-18 17:22:46 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2011-02-18 17:22:46 +0300
commitd9bca3d4919848f3ec43e2655b21b3e2f47c3e97 (patch)
treeb64c8c1a959855d5eae59be761b154bae94b6099 /source/blender/blenlib/BLI_math_base.h
parentb97ad119b9d868352326b3885fe6ce26f40a8385 (diff)
declare round() and copysign() when on windows. Implementations for them already where in math_base.c
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r--source/blender/blenlib/BLI_math_base.h5
1 files changed, 5 insertions, 0 deletions
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