summaryrefslogtreecommitdiff
path: root/Modules/dbmmodule.c
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-03-03 02:59:16 +0000
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-03-03 02:59:16 +0000
commite09d024008dea432f86fbc3f92317a1eb13e2988 (patch)
treeb50a6553d8c0582f4e15ce8ef87f10509f2ee150 /Modules/dbmmodule.c
parentfad4aa38e09cdfe8cb95306fdbbc48eaa86b750d (diff)
downloadcpython-e09d024008dea432f86fbc3f92317a1eb13e2988.tar.gz
OS/2 EMX port changes (Modules part of patch #450267):
Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c
Diffstat (limited to 'Modules/dbmmodule.c')
-rw-r--r--Modules/dbmmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/dbmmodule.c b/Modules/dbmmodule.c
index 233487d612..056af4986b 100644
--- a/Modules/dbmmodule.c
+++ b/Modules/dbmmodule.c
@@ -13,7 +13,11 @@
*/
#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_DB1_NDBM_H)
#include <db1/ndbm.h>
static char *which_dbm = "BSD db";