diff src/database.c @ 211:78478c60bfcd r20-4b4

Import from CVS: tag r20-4b4
author cvs
date Mon, 13 Aug 2007 10:05:51 +0200
parents 41ff10fd062f
children c5d627a313b1
line wrap: on
line diff
--- a/src/database.c	Mon Aug 13 10:05:01 2007 +0200
+++ b/src/database.c	Mon Aug 13 10:05:51 2007 +0200
@@ -649,8 +649,10 @@
     {
       DBTYPE real_subtype;
       DB *db;
+#if DB_VERSION_MAJOR != 1
       int status;
-      
+#endif
+
       if (EQ (subtype, Qhash) || NILP (subtype))
 	real_subtype = DB_HASH;
       else if (EQ (subtype, Qbtree))