Changeset 5b032a3a74317a04fb1155984d37a25475ebe364

Show
Ignore:
Timestamp:
09/03/07 11:28:03 (2 years ago)
Author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr>
git-committer:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1173436083 +0000
git-parent:

[8b9e6c549d9dd85624dd0ac66ea625ad1de124c9]

git-author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1173436083 +0000
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/python/vlc_internal.h

    ra5c6ef9 r5b032a3  
    3737#include "../../src/misc/variables.h" 
    3838 
     39/* Python 2.5 64-bit support compatibility define */ 
     40#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) 
     41typedef int Py_ssize_t; 
     42#define PY_SSIZE_T_MAX INT_MAX 
     43#define PY_SSIZE_T_MIN INT_MIN 
     44#endif 
     45 
    3946/********************************************************************** 
    4047 * VLC Object