summaryrefslogtreecommitdiffstats
path: root/Configurations/platform.pm
blob: 909da0ac7202f78d8263f8f0fae4931895def7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package platform;

use strict;
use warnings;
use vars qw(@ISA);

# Callers must make sure @INC has the build directory
use configdata;

my $module = $target{perl_platform} || 'Unix';
(my $module_path = $module) =~ s|::|/|g;

require "platform/$module_path.pm";
@ISA = ("platform::$module");

1;

__END__