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:
9ff53bc
)
Problem with h2xs
author
David Cannings
<lists@edeca.net>
Mon, 3 May 2004 13:44:33 +0000
(14:44 +0100)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 5 May 2004 16:14:25 +0000
(16:14 +0000)
Message-Id: <
200405031344
.33723.lists@edeca.net>
(Second patch only)
p4raw-id: //depot/perl@22782
utils/h2xs.PL
patch
|
blob
|
blame
|
history
diff --git
a/utils/h2xs.PL
b/utils/h2xs.PL
index
5d27e67
..
2e8e23e
100644
(file)
--- a/
utils/h2xs.PL
+++ b/
utils/h2xs.PL
@@
-981,6
+981,8
@@
if( ! $opt_X ){ # use XS, unless it was disabled
'add_cppflags' => $addflags, 'c_styles' => \@styles;
$c->set('includeDirs' => ["$Config::Config{archlib}/CORE", $cwd]);
+ $c->get('keywords')->{'__restrict'} = 1;
+
push @$fdecls_parsed, @{ $c->get('parsed_fdecls') };
push(@$fdecls, @{$c->get('fdecls')});