summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 20:22:08 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:18:19 +0000
commit810ec44244e03a3b5acc4dc164d4ab59b7c81629 (patch)
treed08afed0d0fd952ebd7f3f1348171d8aea76e3a4
parent36e363c2a9c3126a8972c7e09d962028949562e8 (diff)
downloadperl-810ec44244e03a3b5acc4dc164d4ab59b7c81629.tar.gz
Add PERL_NO_GET_CONTEXT to I18N::Langinfo
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
-rw-r--r--ext/I18N-Langinfo/Langinfo.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/I18N-Langinfo/Langinfo.xs b/ext/I18N-Langinfo/Langinfo.xs
index d08707541e..8b1fd5a4ef 100644
--- a/ext/I18N-Langinfo/Langinfo.xs
+++ b/ext/I18N-Langinfo/Langinfo.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"