diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-14 20:54:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-14 20:54:08 +0300 |
commit | 07d4307af28aa4df4227ae44326831846f81da9e (patch) | |
tree | 340e109c007be9bca0cd9033f5a6726e54e184f2 | |
parent | 891301c3a2f753a383a5adc843a544bb41ecd677 (diff) |
attempt to fix build error on msvc
-rw-r--r-- | source/blender/python/generic/euler.c | 4 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_app.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/python/generic/euler.c b/source/blender/python/generic/euler.c index 3c018333b39..3c20d341c7b 100644 --- a/source/blender/python/generic/euler.c +++ b/source/blender/python/generic/euler.c @@ -31,6 +31,10 @@ #include "BLI_math.h" #include "BKE_utildefines.h" +#ifndef int32_t +#include "BLO_sys_types.h" +#endif + //----------------------------------Mathutils.Euler() ------------------- //makes a new euler for you to play with static PyObject *Euler_new(PyTypeObject * type, PyObject * args, PyObject * kwargs) diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c index ce5eea728a8..e90b58d9fac 100644 --- a/source/blender/python/intern/bpy_app.c +++ b/source/blender/python/intern/bpy_app.c @@ -96,11 +96,11 @@ static PyObject *make_app_info(void) SetStrItem(build_platform); SetStrItem(build_type); #else - SetStrItem(strip_quotes(buf, "Unknown")); - SetStrItem(strip_quotes(buf, "Unknown")); - SetStrItem(strip_quotes(buf, "Unknown")); - SetStrItem(strip_quotes(buf, "Unknown")); - SetStrItem(strip_quotes(buf, "Unknown")); + SetStrItem("Unknown"); + SetStrItem("Unknown"); + SetStrItem("Unknown"); + SetStrItem("Unknown"); + SetStrItem("Unknown"); #endif #undef SetIntItem |