Skip to content
Browse files

Convert two configuration steps from 'get_p5('OSNAME')' to 'get('osna…

…me')'.

git-svn-id: https://svn.parrot.org/parrot/branches/convert_OSNAME@42300 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 2fd71b1 commit 07fe702246525e352f76e6086dfc279b60ecb9cb jkeenan committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/auto/thread.pm
  2. +1 −1 config/gen/opengl.pm
View
2 config/auto/thread.pm
@@ -44,7 +44,7 @@ sub runstep {
return 1;
}
- if ($conf->data->get_p5('OSNAME') eq 'MSWin32'
+ if ($conf->data->get('osname') eq 'MSWin32'
|| $conf->data->get('i_pthread') eq 'define') {
$conf->data->set( HAS_THREADS => 1 );
$self->set_result('yes');
View
2 config/gen/opengl.pm
@@ -437,7 +437,7 @@ sub runstep {
my @include_paths_win32 = grep /\S/ => split /;/ => ($ENV{INCLUDE} || '');
- my $osname = $conf->data->get_p5('OSNAME');
+ my $osname = $conf->data->get('osname');
if (scalar @include_paths_win32 == 0 && $osname =~ /mswin32/i) {
my $cc = $conf->data->get('cc');
my $path = dirname(dirname(which($cc))) . '\include';

0 comments on commit 07fe702

Please sign in to comment.
Something went wrong with that request. Please try again.