This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add PERL_NO_GET_CONTEXT to NDBM_File
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Mar 2011 21:20:46 +0000 (21:20 +0000)
committerNicholas 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

index af8f02f..52e60fc 100644 (file)
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"