From: Steve Peters Date: Wed, 11 Oct 2006 14:48:45 +0000 (+0000) Subject: Fix typo in NDBM_File.xs and bump up the version number. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5046273b5cf1d23be50a4646536c855dd8b55ccd;p=p5sagit%2Fp5-mst-13.2.git Fix typo in NDBM_File.xs and bump up the version number. p4raw-id: //depot/perl@28996 --- diff --git a/ext/NDBM_File/NDBM_File.pm b/ext/NDBM_File/NDBM_File.pm index 9fa4d4b..b88e657 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 0c726cf..53403a5 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. */