Changes needed for building with Python 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -186,6 +186,13 @@ typedef PyGILState_STATE wxPyBlock_t;
|
||||
#endif
|
||||
|
||||
|
||||
// Python 2.5 changes the type of some API parameter and return types. Using
|
||||
// this typedef for versions < 2.5 will help with the transition...
|
||||
#if PY_VERSION_HEX < 0x02050000
|
||||
typedef int Py_ssize_t;
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef wxPyUSE_EXPORTED_API
|
||||
|
||||
// For Python --> C++
|
||||
|
Reference in New Issue
Block a user