Commit 5b032a3a authored by Olivier Aubert's avatar Olivier Aubert

bindings/python/vlc_internal.c: compatibility define for Py_ssize_t

parent 8b9e6c54
......@@ -36,6 +36,13 @@
/* Even gruiker ! We access variable_t ! */
#include "../../src/misc/variables.h"
/* Python 2.5 64-bit support compatibility define */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif
/**********************************************************************
* VLC Object
**********************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment