summaryrefslogtreecommitdiff
path: root/infrastructure/BoxPlatform.pm.in
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-12-06 18:45:29 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-06 18:45:29 +0000
commit9d8333f4448a7fb0b758af114443cb89a4f38a0e (patch)
tree221942d72260ea2a7783a72033f3872442576b99 /infrastructure/BoxPlatform.pm.in
parent4315f96a3bcf40153d0e9b19992c8514ea53002d (diff)
Try to eval loading Win32 as sugested by James O'Gorman.
Should hopefully fix compile on other platforms.
Diffstat (limited to 'infrastructure/BoxPlatform.pm.in')
-rw-r--r--infrastructure/BoxPlatform.pm.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in
index 660be5e5..e6a335f8 100644
--- a/infrastructure/BoxPlatform.pm.in
+++ b/infrastructure/BoxPlatform.pm.in
@@ -17,7 +17,7 @@ BEGIN
if ($^O eq "MSWin32" and not -x "/usr/bin/uname")
{
$build_os = "winnt";
- use Win32;
+ eval "use Win32";
$build_os_ver = Win32::GetOSName();
}
else