summaryrefslogtreecommitdiff
path: root/tune/many.pl
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-02-22 23:58:25 +0100
committerKevin Ryde <user42@zip.com.au>2002-02-22 23:58:25 +0100
commite8b8fc5c33f3ade564dcc1f84e1cc0bc55321a0c (patch)
treed6d5eb844f76d3bae26d059083eb197087ce5edf /tune/many.pl
parent7133740b363bfcfdbd61b06dc5324ee17300fc44 (diff)
downloadgmp-e8b8fc5c33f3ade564dcc1f84e1cc0bc55321a0c.tar.gz
More of:
* tune/many.pl: Add -DHAVE_NATIVE_mpn_foo to C objects, to avoid conflicts with a macro version in gmp-impl.h, eg. mpn_com_n.
Diffstat (limited to 'tune/many.pl')
-rwxr-xr-xtune/many.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tune/many.pl b/tune/many.pl
index 2d179021a..c36ef66f6 100755
--- a/tune/many.pl
+++ b/tune/many.pl
@@ -964,7 +964,7 @@ foreach my $file_full (@files) {
my $renaming;
foreach my $fun (@{$funs}) {
- if ($mpX eq 'mpn_') {
+ if ($mpX eq 'mpn_' && $lang eq '.c') {
$renaming .= "\t\t-DHAVE_NATIVE_mpn_$fun=1 \\\n";
}