[Python-checkins] CVS: python/dist/src/Modules dbmmodule.c,2.23,2.24

Fred L. Drake python-dev@python.org
Thu, 14 Sep 2000 20:38:16 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4739/Modules

Modified Files:
	dbmmodule.c 
Log Message:

Trent Mick points out that the BSD DB also provides an ndbm compatibility
layer.  If that is available, consider that as an option as well.


Index: dbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/dbmmodule.c,v
retrieving revision 2.23
retrieving revision 2.24
diff -C2 -r2.23 -r2.24
*** dbmmodule.c	2000/09/14 15:48:06	2.23
--- dbmmodule.c	2000/09/15 03:38:12	2.24
***************
*** 14,17 ****
--- 14,19 ----
  #if defined(HAVE_NDBM_H)
  #include <ndbm.h>
+ #elif defined(HAVE_DB1_NDBM_H)
+ #include <db1/ndbm.h>
  #elif defined(HAVE_GDBM_NDBM_H)
  #include <gdbm/ndbm.h>