summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 20:43:32 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:18:19 +0000
commit55cb46d57564ca38ba5b8e67183e3aca207fb7d0 (patch)
tree94a20708c95e3f18b7dc0a6f9dbff42d8a91cffe
parent3c53ff3fcb7a9fb379a965577e4a04828ebaf7de (diff)
downloadperl-55cb46d57564ca38ba5b8e67183e3aca207fb7d0.tar.gz
Add PERL_NO_GET_CONTEXT to attributes
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
-rw-r--r--ext/attributes/attributes.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/attributes/attributes.xs b/ext/attributes/attributes.xs
index a199af6206..20dc33d187 100644
--- a/ext/attributes/attributes.xs
+++ b/ext/attributes/attributes.xs
@@ -15,6 +15,7 @@
* [p.597 of _The Lord of the Rings_, III/xi: "The Palantír"]
*/
+#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"