Skip to content

Commit

Permalink
Fix PySide compilation with Python 2.5.
Browse files Browse the repository at this point in the history
Reviewer: Marcelo Lira <[email protected]>
          Luciano Wolf <[email protected]>
  • Loading branch information
hugopl committed Oct 10, 2011
1 parent d034778 commit 74cdaf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libshiboken/python25compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 74cdaf8

Please sign in to comment.