This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e332f
)
Add PERL_NO_GET_CONTEXT to NDBM_File
author
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 21:20:46 +0000
(21:20 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 19 Mar 2011 21:45:43 +0000
(21:45 +0000)
For threaded platforms, this reduces the object code size, and should slightly
reduce CPU usage.
ext/NDBM_File/NDBM_File.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/NDBM_File/NDBM_File.xs
b/ext/NDBM_File/NDBM_File.xs
index
af8f02f
..
52e60fc
100644
(file)
--- a/
ext/NDBM_File/NDBM_File.xs
+++ b/
ext/NDBM_File/NDBM_File.xs
@@
-1,3
+1,5
@@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"