From 7c74d1dfa36376ebd5757d990af0ce6813130100 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Apr 2009 17:08:24 +0000 Subject: py <2.5 dont have lenfunc --- source/blender/python/intern/bpy_compat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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 -- cgit v1.2.3