diff options
-rw-r--r-- | source/blender/python/intern/bpy_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_compat.h b/source/blender/python/intern/bpy_compat.h index 4f64c916ca2..ad6b7a5e85c 100644 --- a/source/blender/python/intern/bpy_compat.h +++ b/source/blender/python/intern/bpy_compat.h @@ -75,6 +75,7 @@ /* older then python 2.5 - define these */ #if (PY_VERSION_HEX < 0x02050000) #define Py_ssize_t ssize_t +typedef Py_ssize_t (*lenfunc)(PyObject *); #ifndef Py_RETURN_NONE #define Py_RETURN_NONE return Py_BuildValue("O", Py_None) #endif |