summaryrefslogtreecommitdiff
path: root/dist/Math-BigInt-FastCalc/FastCalc.xs
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-06-18 19:40:26 +0200
committerNicholas Clark <nick@ccl4.org>2011-06-23 09:13:08 +0200
commit7c4202907c499a6fd1a41da6fdf1d414ecadeb37 (patch)
treea00edff88a93ca56e1f0e1fee154cb200ded7d55 /dist/Math-BigInt-FastCalc/FastCalc.xs
parent6bb18b54070eef37fdc718ad193cd88a1569f0cd (diff)
downloadperl-7c4202907c499a6fd1a41da6fdf1d414ecadeb37.tar.gz
Add PERL_NO_GET_CONTEXT to Math::BigInit::FastCalc.
For threaded platforms, this reduces the object code size significantly, and should slightly reduce CPU usage.
Diffstat (limited to 'dist/Math-BigInt-FastCalc/FastCalc.xs')
-rw-r--r--dist/Math-BigInt-FastCalc/FastCalc.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/Math-BigInt-FastCalc/FastCalc.xs b/dist/Math-BigInt-FastCalc/FastCalc.xs
index 9f9bb5e377..a8247c9508 100644
--- a/dist/Math-BigInt-FastCalc/FastCalc.xs
+++ b/dist/Math-BigInt-FastCalc/FastCalc.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"