diff options
author | David Cannings <lists@edeca.net> | 2004-05-03 14:44:33 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-05-05 16:14:25 +0000 |
commit | 5db8a8c21bcc6e67c574b01a4256f79c5e4aab89 (patch) | |
tree | fdab213b3baa339fc268c5bfa7021fb4beff1c03 /utils | |
parent | 9ff53bc97fe2246e61874ffc409d9e547337a471 (diff) | |
download | perl-5db8a8c21bcc6e67c574b01a4256f79c5e4aab89.tar.gz |
Problem with h2xs
Message-Id: <200405031344.33723.lists@edeca.net>
(Second patch only)
p4raw-id: //depot/perl@22782
Diffstat (limited to 'utils')
-rw-r--r-- | utils/h2xs.PL | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 5d27e67ec0..2e8e23e64d 100644 --- 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')}); |