A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025556.html below:

[Python-Dev] Re: making dbmmodule still broken

[Python-Dev] Re: making dbmmodule still broken [Python-Dev] Re: making dbmmodule still brokenSkip Montanaro skip@pobox.com
Tue, 18 Jun 2002 21:03:57 -0500
I wrote:

    ... here's what I propose (and what changes I just made locally):

I forgot about one other change.  In dbmmodule.c I #include <db.h> if
HAVE_BERKDB_H is defined:

    #if defined(HAVE_NDBM_H)
    #include <ndbm.h>
    #if defined(PYOS_OS2) && !defined(PYCC_GCC)
    static char *which_dbm = "ndbm";
    #else
    static char *which_dbm = "GNU gdbm";  /* EMX port of GDBM */
    #endif
    #elif defined(HAVE_GDBM_NDBM_H)
    #include <gdbm/ndbm.h>
    static char *which_dbm = "GNU gdbm";
    #elif defined(HAVE_BERKDB_H)
    #include <db.h>
    static char *which_dbm = "Berkeley DB";
    #else
    #error "No ndbm.h available!"
    #endif

Skip




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4