[Zodb-checkins] CVS: Zope2/lib/python/ZODB - coptimizations.c:1.11

Jim Fulton jim@digicool.com
Wed, 28 Mar 2001 09:36:09 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak:/tmp/cvs-serv21933

Modified Files:
	coptimizations.c 
Log Message:
Added a macro to prevent declaration of cPersistenceCAPI in
cPersistence.c to avoid compiler warnings in cPickleCache and
coptimizations. 



--- Updated File coptimizations.c in package Zope2/lib/python/ZODB --
--- coptimizations.c	2001/03/28 00:35:37	1.10
+++ coptimizations.c	2001/03/28 14:36:08	1.11
@@ -83,6 +83,7 @@
   
  ****************************************************************************/
 #include "Python.h"
+#define DONT_USE_CPERSISTENCECAPI
 #include "cPersistence.h"
 
 static void PyVar_Assign(PyObject **v, PyObject *e) { Py_XDECREF(*v); *v=e;}