From 74cdaf8e5fe459abfcf39de7cf41bfc375a99e2a Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 10 Oct 2011 16:03:41 -0300 Subject: [PATCH] Fix PySide compilation with Python 2.5. Reviewer: Marcelo Lira Luciano Wolf --- libshiboken/python25compat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libshiboken/python25compat.h b/libshiboken/python25compat.h index 09353391..494f5841 100644 --- a/libshiboken/python25compat.h +++ b/libshiboken/python25compat.h @@ -71,6 +71,7 @@ typedef struct { #define PyBytes_AS_STRING PyString_AS_STRING #define PyBytes_AsString PyString_AsString #define PyBytes_Concat PyString_Concat +#define PyBytes_Size PyString_Size inline PyObject* PyUnicode_FromString(const char* s) {