diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-03-19 20:36:38 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-19 21:18:19 +0000 |
commit | 3c53ff3fcb7a9fb379a965577e4a04828ebaf7de (patch) | |
tree | f5f9b4fd0365f647ee6f5e97e1bba89ae8545e29 /ext | |
parent | 93659fa2a996f0659d1657045950727a313d8207 (diff) | |
download | perl-3c53ff3fcb7a9fb379a965577e4a04828ebaf7de.tar.gz |
Add PERL_NO_GET_CONTEXT to XS::Typemap
For threaded platforms, this almost halves the object code size.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/XS-Typemap/Typemap.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/XS-Typemap/Typemap.xs b/ext/XS-Typemap/Typemap.xs index dbb1733856..2f8b3bc3f1 100644 --- a/ext/XS-Typemap/Typemap.xs +++ b/ext/XS-Typemap/Typemap.xs @@ -1,4 +1,3 @@ - /* XS code to test the typemap entries @@ -7,6 +6,8 @@ */ +#define PERL_NO_GET_CONTEXT + #include "EXTERN.h" /* std perl include */ #include "perl.h" /* std perl include */ #include "XSUB.h" /* XSUB include */ |