[Bf-blender-cvs] [81a76469ca0] master: Fix for recent fix in fc890cd, cstdint is c++11 only so don't use it yet.
Brecht Van Lommel
noreply at git.blender.org
Mon Aug 21 19:06:05 CEST 2017
Commit: 81a76469ca05a47a7471f92be3e0e257107de141
Author: Brecht Van Lommel
Date: Mon Aug 21 19:03:32 2017 +0200
Branches: master
https://developer.blender.org/rB81a76469ca05a47a7471f92be3e0e257107de141
Fix for recent fix in fc890cd, cstdint is c++11 only so don't use it yet.
===================================================================
M source/blender/python/generic/py_capi_utils.h
M source/gameengine/Expressions/EXP_PyObjectPlus.h
===================================================================
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
More information about the Bf-blender-cvs
mailing list