summaryrefslogtreecommitdiff
path: root/ext/mro
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 20:51:18 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:18:19 +0000
commit6ed7834e209d5f0b87d3b7a57d795c7ef12631fa (patch)
tree24b5e83b0e8223d78c9bb7d8fe0978eadcbe06d3 /ext/mro
parent55cb46d57564ca38ba5b8e67183e3aca207fb7d0 (diff)
downloadperl-6ed7834e209d5f0b87d3b7a57d795c7ef12631fa.tar.gz
Add PERL_NO_GET_CONTEXT to mro
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
Diffstat (limited to 'ext/mro')
-rw-r--r--ext/mro/mro.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mro/mro.xs b/ext/mro/mro.xs
index 76a91ae07c..da67e732de 100644
--- a/ext/mro/mro.xs
+++ b/ext/mro/mro.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"