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:
authorCampbell Barton <ideasman42@gmail.com>2010-03-14 20:54:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-14 20:54:08 +0300
commit07d4307af28aa4df4227ae44326831846f81da9e (patch)
tree340e109c007be9bca0cd9033f5a6726e54e184f2
parent891301c3a2f753a383a5adc843a544bb41ecd677 (diff)
attempt to fix build error on msvc
-rw-r--r--source/blender/python/generic/euler.c4
-rw-r--r--source/blender/python/intern/bpy_app.c10
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