summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-03-09 10:23:33 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-03-16 12:55:39 +0000
commite5c9fcd0420f2862565625a4bd5596204107f54f (patch)
tree6802f821b6b73f8fd7d5217e52348bd0ea711675 /ext/ODBM_File
parent9e48b294a088693583142bb2058db509a62bb303 (diff)
downloadperl-e5c9fcd0420f2862565625a4bd5596204107f54f.tar.gz
[PATCH 5.004_62} Config_62-01 patch available.
Date: Mon, 9 Mar 1998 15:23:33 -0500 (EST) Subject: [PATCH 5.004_62] Tiny hint file updates Date: Mon, 9 Mar 1998 13:21:46 -0500 (EST) p4raw-id: //depot/perl@812
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/ODBM_File.xs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index b57e560bd3..53d1930c54 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -3,7 +3,7 @@
#include "XSUB.h"
#ifdef NULL
-#undef NULL
+#undef NULL /* XXX Why? */
#endif
#ifdef I_DBM
# include <dbm.h>
@@ -46,6 +46,10 @@ static int dbmrefcnt;
MODULE = ODBM_File PACKAGE = ODBM_File PREFIX = odbm_
+#ifndef NULL
+# define NULL 0
+#endif
+
ODBM_File
odbm_TIEHASH(dbtype, filename, flags, mode)
char * dbtype