Add PERL_NO_GET_CONTEXT to GDBM_File
authorNicholas Clark <nick@ccl4.org>
Sat, 19 Mar 2011 21:19:58 +0000 (21:19 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 19 Mar 2011 21:45:42 +0000 (21:45 +0000)
For threaded platforms, this reduces the object code size, and should slightly
reduce CPU usage.

ext/GDBM_File/GDBM_File.xs

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