From 3c53ff3fcb7a9fb379a965577e4a04828ebaf7de Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 19 Mar 2011 20:36:38 +0000 Subject: [PATCH] Add PERL_NO_GET_CONTEXT to XS::Typemap For threaded platforms, this almost halves the object code size. --- ext/XS-Typemap/Typemap.xs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/XS-Typemap/Typemap.xs b/ext/XS-Typemap/Typemap.xs index dbb1733..2f8b3bc 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 */ -- 1.8.3.1