summaryrefslogtreecommitdiff
path: root/ext/Hash-Util
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 20:15:19 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:18:19 +0000
commit36e363c2a9c3126a8972c7e09d962028949562e8 (patch)
tree9a73489653dd350c05073579fef09cdd69cf2601 /ext/Hash-Util
parent4b6bf1741b5642667354adaf3bb957be8c0e1ef8 (diff)
downloadperl-36e363c2a9c3126a8972c7e09d962028949562e8.tar.gz
Add PERL_NO_GET_CONTEXT to Hash::Util
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
Diffstat (limited to 'ext/Hash-Util')
-rw-r--r--ext/Hash-Util/Util.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Hash-Util/Util.xs b/ext/Hash-Util/Util.xs
index 483db73514..678e64d9b7 100644
--- a/ext/Hash-Util/Util.xs
+++ b/ext/Hash-Util/Util.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"