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:
authorCampbell Barton <ideasman42@gmail.com>2009-02-26 08:50:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-26 08:50:19 +0300
commitb49b02842a9f13975b5735183afdae273c9fd616 (patch)
treece3f118808bc42204ab8fb883fc05548fcea6743 /source/blender/python/intern/bpy_util.c
parent9ac7c8e91a9e699ff3490881c554e08fc348f442 (diff)
update to build with python 3.0.1 which removed Py_InitModule3, added richcompare functions to the operator api.
Diffstat (limited to 'source/blender/python/intern/bpy_util.c')
-rw-r--r--source/blender/python/intern/bpy_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_util.c b/source/blender/python/intern/bpy_util.c
index bbf766c23eb..63112295d18 100644
--- a/source/blender/python/intern/bpy_util.c
+++ b/source/blender/python/intern/bpy_util.c
@@ -112,7 +112,7 @@ int BPY_flag_from_seq(BPY_flag_def *flagdef, PyObject *seq, int *flag)
/* Copied from pythons 3's Object.c */
-#if PY_VERSION_HEX < 0x03000000
+#ifndef Py_CmpToRich
PyObject *
Py_CmpToRich(int op, int cmp)
{