attempt to fix build error on msvc
authorCampbell Barton <ideasman42@gmail.com>
Sun, 14 Mar 2010 17:54:08 +0000 (17:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 14 Mar 2010 17:54:08 +0000 (17:54 +0000)
source/blender/python/generic/euler.c
source/blender/python/intern/bpy_app.c

index 3c018333b39d97b70360999875dafa944093959f..3c20d341c7bdfabb12a4d1edadef8db866b5a056 100644 (file)
 #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)
index ce5eea728a8e2989c3167e56b9df8691a1dca3f2..e90b58d9fac534dae228ee82eee9d879dc03c434 100644 (file)
@@ -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