* Added #define _USE_MATH_DEFINES

in some files to get Blender to compile again on msvc. Without that, it didn't found M_PI.
This commit is contained in:
Thomas Dinges
2010-01-25 13:19:52 +00:00
parent cbb23d96bb
commit ab5a985cfe
3 changed files with 4 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
#define _USE_MATH_DEFINES
#include <stdlib.h>
#include <stdio.h>

View File

@@ -21,6 +21,7 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
#define _USE_MATH_DEFINES
#include <stdlib.h>
#include <math.h>

View File

@@ -22,6 +22,8 @@
* ***** END GPL LICENSE BLOCK *****
*/
#define _USE_MATH_DEFINES
#include <stdlib.h>
#include <math.h>