summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-21 16:27:23 +0000
committerNicholas Clark <nick@ccl4.org>2011-06-16 11:25:50 +0100
commit040eaf4711b0a76debb90b5ec07ce2d13b5ea096 (patch)
treefa9a63f44e09097db7add19fb6122940335ccdfa /ext/ODBM_File
parent77da2310c76f19f8b52c04ab613265ef345523a1 (diff)
downloadperl-040eaf4711b0a76debb90b5ec07ce2d13b5ea096.tar.gz
Add PERL_NO_GET_CONTEXT to ODBM_File
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/ODBM_File.pm2
-rw-r--r--ext/ODBM_File/ODBM_File.xs2
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/ODBM_File/ODBM_File.pm b/ext/ODBM_File/ODBM_File.pm
index caf8c7247b..5c8d10b734 100644
--- a/ext/ODBM_File/ODBM_File.pm
+++ b/ext/ODBM_File/ODBM_File.pm
@@ -7,7 +7,7 @@ require Tie::Hash;
require XSLoader;
our @ISA = qw(Tie::Hash);
-our $VERSION = "1.10";
+our $VERSION = "1.11";
XSLoader::load();
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index 463f8e8615..15c1725665 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"