[Zodb-checkins] CVS: Zope3/lib/python/Persistence/BTrees - BTreeModuleTemplate.c:1.1.2.7
Jeremy Hylton
jeremy@zope.com
Sat, 2 Mar 2002 01:09:54 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees
In directory cvs.zope.org:/tmp/cvs-serv5335
Modified Files:
Tag: Zope-3x-branch
BTreeModuleTemplate.c
Log Message:
cleanup #ifdef PERSISTENT test for include files.
Untested change. Do we still care about BTrees without persistence?
=== Zope3/lib/python/Persistence/BTrees/BTreeModuleTemplate.c 1.1.2.6 => 1.1.2.7 ===
#include "Python.h"
-#ifdef PERSISTENT
-#include "cPersistence.h"
-#include "cPersistenceAPI.h"
/* include structmember.h for offsetof */
#include "structmember.h"
-/***************************************************************/
-
+#ifdef PERSISTENT
+#include "cPersistence.h"
+#include "cPersistenceAPI.h"
#else
-#include "ExtensionClass.h"
#define PER_USE_OR_RETURN(self, NULL)
#define PER_ALLOW_DEACTIVATION(self)
#define PER_PREVENT_DEACTIVATION(self)