This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add PERL_NO_GET_CONTEXT to attributes
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Mar 2011 20:43:32 +0000 (20:43 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 19 Mar 2011 21:18:19 +0000 (21:18 +0000)
For threaded platforms, this reduces the object code size, and should slightly
reduce CPU usage.

ext/attributes/attributes.xs

index a199af6..20dc33d 100644 (file)
@@ -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"