[Zodb-checkins] CVS: Zope2/lib/python/ZODB - cPersistence.h:1.18

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


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

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



--- Updated File cPersistence.h in package Zope2/lib/python/ZODB --
--- cPersistence.h	2001/03/28 13:52:42	1.17
+++ cPersistence.h	2001/03/28 14:35:42	1.18
@@ -112,7 +112,9 @@
   persetattr persetattro;
 } cPersistenceCAPIstruct;
 
+#ifndef DONT_USE_CPERSISTENCECAPI
 static cPersistenceCAPIstruct *cPersistenceCAPI;
+#endif
 
 #define cPersistanceModuleName "cPersistence"