summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-19 19:40:20 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-19 21:18:18 +0000
commit8e9c4baf7570a61751f64c73090f28b3d5633152 (patch)
treedb06a47bf974ed2018bd39ec0402babab472998d /ext
parent53ca1a61159c628a2b9c07745ac216e744f531ff (diff)
downloadperl-8e9c4baf7570a61751f64c73090f28b3d5633152.tar.gz
Add PERL_NO_GET_CONTEXT to File::Glob
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
Diffstat (limited to 'ext')
-rw-r--r--ext/File-Glob/Glob.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/File-Glob/Glob.xs b/ext/File-Glob/Glob.xs
index 56f76eba8a..3f4928f934 100644
--- a/ext/File-Glob/Glob.xs
+++ b/ext/File-Glob/Glob.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"