From 2375320d5bb0dd4580bf9b887e687f0fb64ea1fc Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Thu, 16 Oct 2008 13:46:24 +0000 Subject: [PATCH] Fix check for macro. --- cx_Oracle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cx_Oracle.c b/cx_Oracle.c index 799cf87..06d248e 100644 --- a/cx_Oracle.c +++ b/cx_Oracle.c @@ -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