[Zope-Checkins] CVS: Zope2 - cPickleCache.c:1.33
Jim Fulton
jim@digicool.com
Wed, 28 Mar 2001 09:36:32 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak:/tmp/cvs-serv22004
Modified Files:
cPickleCache.c
Log Message:
Added a macro to prevent declaration of cPersistenceCAPI in
cPersistence.c to avoid compiler warnings in cPickleCache and
coptimizations.
--- Updated File cPickleCache.c in package Zope2/lib/python/ZODB --
--- cPickleCache.c 2001/03/28 00:35:09 1.32
+++ cPickleCache.c 2001/03/28 14:36:30 1.33
@@ -92,6 +92,7 @@
#define UNLESS_ASSIGN(V,E) ASSIGN(V,E) UNLESS(V)
#define OBJECT(O) ((PyObject*)O)
+#define DONT_USE_CPERSISTENCECAPI
#include "cPersistence.h"
#include <time.h>
--- Updated File cPickleCache.c in package Zope2 --
--- cPickleCache.c 2001/03/28 00:35:09 1.32
+++ cPickleCache.c 2001/03/28 14:36:30 1.33
@@ -92,6 +92,7 @@
#define UNLESS_ASSIGN(V,E) ASSIGN(V,E) UNLESS(V)
#define OBJECT(O) ((PyObject*)O)
+#define DONT_USE_CPERSISTENCECAPI
#include "cPersistence.h"
#include <time.h>