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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2017-08-21 20:03:32 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-08-21 20:05:17 +0300
commit81a76469ca05a47a7471f92be3e0e257107de141 (patch)
treecb9ba7d92cf5b54befdee4168f5351acc889f153
parent37a5fe2d4d0c13170abc43f278d9af5c39121ff8 (diff)
Fix for recent fix in fc890cd, cstdint is c++11 only so don't use it yet.
-rw-r--r--source/blender/python/generic/py_capi_utils.h2
-rw-r--r--source/gameengine/Expressions/EXP_PyObjectPlus.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/generic/py_capi_utils.h b/source/blender/python/generic/py_capi_utils.h
index 88546719777..fb16fd5a314 100644
--- a/source/blender/python/generic/py_capi_utils.h
+++ b/source/blender/python/generic/py_capi_utils.h
@@ -27,6 +27,8 @@
#ifndef __PY_CAPI_UTILS_H__
#define __PY_CAPI_UTILS_H__
+#include "BLI_sys_types.h"
+
void PyC_ObSpit(const char *name, PyObject *var);
void PyC_LineSpit(void);
void PyC_StackSpit(void);
diff --git a/source/gameengine/Expressions/EXP_PyObjectPlus.h b/source/gameengine/Expressions/EXP_PyObjectPlus.h
index 504d79f7cbb..32dc79cf6eb 100644
--- a/source/gameengine/Expressions/EXP_PyObjectPlus.h
+++ b/source/gameengine/Expressions/EXP_PyObjectPlus.h
@@ -44,8 +44,7 @@
#include "STR_String.h"
#include "MT_Vector3.h"
#include "SG_QList.h"
-#include <cstddef>
-#include <cstdint>
+#include <stddef.h>
#ifdef WITH_PYTHON
#ifdef USE_MATHUTILS