[Zope-Checkins] CVS: Products/DCOracle2/src - dco2.c:1.119
Matthew T. Kromer
matt@zope.com
Thu, 26 Sep 2002 09:55:04 -0400
Update of /cvs-repository/Products/DCOracle2/src
In directory cvs.zope.org:/tmp/cvs-serv26894/src
Modified Files:
dco2.c
Log Message:
Add Python1.5 macro for PyObject_DEL
=== Products/DCOracle2/src/dco2.c 1.118 => 1.119 ===
--- Products/DCOracle2/src/dco2.c:1.118 Wed Aug 21 11:31:11 2002
+++ Products/DCOracle2/src/dco2.c Thu Sep 26 09:55:03 2002
@@ -112,6 +112,10 @@
#include <Python.h>
#include <pythread.h>
+#ifndef PyObject_DEL
+#define PyObject_DEL(x) free(x)
+#endif
+
/* If the build script detected Oracle 9i, turn Oracle 8i definition on too */
#ifdef ORACLE9i