From 5046273b5cf1d23be50a4646536c855dd8b55ccd Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Wed, 11 Oct 2006 14:48:45 +0000 Subject: Fix typo in NDBM_File.xs and bump up the version number. p4raw-id: //depot/perl@28996 --- ext/NDBM_File/NDBM_File.pm | 2 +- ext/NDBM_File/NDBM_File.xs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/NDBM_File') 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. */ -- cgit v1.2.1