Fix check for macro.

This commit is contained in:
Anthony Tuininga 2008-10-16 13:46:24 +00:00
parent 28a8cf42be
commit 2375320d5b

View File

@ -46,7 +46,7 @@ typedef int Py_ssize_t;
#endif
// define Py_Int_* macros for Python 3.x
#ifndef Py_Int_Check
#ifndef PyInt_Check
#define PyInt_Check PyLong_Check
#define PyInt_FromLong PyLong_FromLong
#endif