summaryrefslogtreecommitdiff
path: root/ext/GDBM_File
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 21:19:58 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:45:42 +0000
commitc5e332f090ce9c2798f0408dd54b7d8fa3d2961e (patch)
treef4cbc459b360d7121fd992686b18c13aaa578012 /ext/GDBM_File
parent911a37294a3f243e6e9b563557f80a6e08cc4b58 (diff)
downloadperl-c5e332f090ce9c2798f0408dd54b7d8fa3d2961e.tar.gz
Add PERL_NO_GET_CONTEXT to GDBM_File
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r--ext/GDBM_File/GDBM_File.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs
index 5fea3d79bc..afb361ca97 100644
--- a/ext/GDBM_File/GDBM_File.xs
+++ b/ext/GDBM_File/GDBM_File.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"