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

ext/File-Glob/Glob.xs

index 56f76eb..3f4928f 100644 (file)
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"