summaryrefslogtreecommitdiff
path: root/ext/NDBM_File
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-11 14:48:45 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-11 14:48:45 +0000
commit5046273b5cf1d23be50a4646536c855dd8b55ccd (patch)
treeeb5f383d7b6fa0979c27342c7cb0d12d770de314 /ext/NDBM_File
parentcbc4ed9afe9ba8f26ad722a8ad1bb783a1771a4a (diff)
downloadperl-5046273b5cf1d23be50a4646536c855dd8b55ccd.tar.gz
Fix typo in NDBM_File.xs and bump up the version number.
p4raw-id: //depot/perl@28996
Diffstat (limited to 'ext/NDBM_File')
-rw-r--r--ext/NDBM_File/NDBM_File.pm2
-rw-r--r--ext/NDBM_File/NDBM_File.xs2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/NDBM_File/NDBM_File.pm b/ext/NDBM_File/NDBM_File.pm
index 9fa4d4b2cd..b88e657dbf 100644
--- a/ext/NDBM_File/NDBM_File.pm
+++ b/ext/NDBM_File/NDBM_File.pm
@@ -7,7 +7,7 @@ require Tie::Hash;
use XSLoader ();
our @ISA = qw(Tie::Hash);
-our $VERSION = "1.06";
+our $VERSION = "1.07";
XSLoader::load 'NDBM_File', $VERSION;
diff --git a/ext/NDBM_File/NDBM_File.xs b/ext/NDBM_File/NDBM_File.xs
index 0c726cf397..53403a54d6 100644
--- a/ext/NDBM_File/NDBM_File.xs
+++ b/ext/NDBM_File/NDBM_File.xs
@@ -17,7 +17,7 @@ typedef datum datum_key ;
typedef datum datum_value ;
-#if defined(_cplusplus) && defined(HAS_GDBM)
+#if defined(__cplusplus) && defined(HAS_GDBM)
/* gdbm's header file used for compatibility with gdbm */
/* isn't compatible to C++ syntax, so we need these */
/* declarations to make everyone happy. */