diff options
author | Thomas Dinges <blender@dingto.org> | 2010-01-25 16:19:52 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2010-01-25 16:19:52 +0300 |
commit | ab5a985cfeb105c5c04b0fe84bc6d4e7ab12c93c (patch) | |
tree | 91d76d16534497d1249f56bc7200a22511405f27 /source/blender/makesrna/intern/rna_fcurve.c | |
parent | cbb23d96bb4644bd4fdeadbfd790694e57983c53 (diff) |
* Added #define _USE_MATH_DEFINES
in some files to get Blender to compile again on msvc. Without that, it didn't found M_PI.
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_fcurve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index ee94d761f03..f77894222d5 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -22,6 +22,8 @@ * ***** END GPL LICENSE BLOCK ***** */ + #define _USE_MATH_DEFINES + #include <stdlib.h> #include <math.h> |