diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-26 08:50:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-26 08:50:19 +0300 |
commit | b49b02842a9f13975b5735183afdae273c9fd616 (patch) | |
tree | ce3f118808bc42204ab8fb883fc05548fcea6743 /source/blender/python/intern/bpy_util.c | |
parent | 9ac7c8e91a9e699ff3490881c554e08fc348f442 (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.c | 2 |
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) { |