This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix typo in NDBM_File.xs and bump up the version number.
authorSteve Peters <steve@fisharerojo.org>
Wed, 11 Oct 2006 14:48:45 +0000 (14:48 +0000)
committerSteve Peters <steve@fisharerojo.org>
Wed, 11 Oct 2006 14:48:45 +0000 (14:48 +0000)
p4raw-id: //depot/perl@28996

ext/NDBM_File/NDBM_File.pm
ext/NDBM_File/NDBM_File.xs

index 9fa4d4b..b88e657 100644 (file)
@@ -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;
 
index 0c726cf..53403a5 100644 (file)
@@ -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. */