Skip to content

Commit

Permalink
Allow oowintool to find 32 bit VC++ in Cygwin64.
Browse files Browse the repository at this point in the history
Patch by: Damjan Jovanovic and Matthias Seidel
Tested by: Matthias Seidel



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1815542 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Damjan Jovanovic committed Nov 17, 2017
1 parent ab424e8 commit adb6f5d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main/oowintool
Expand Up @@ -217,6 +217,11 @@ sub find_msvs()
$ver->{'product_dir'} = $install;
return $ver;
}
$install = reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/" . $ver->{'key'});
if (defined $install && $install ne '') {
$ver->{'product_dir'} = $install;
return $ver;
}
}
die "Can't find MS Visual Studio / VC++";
}
Expand All @@ -232,6 +237,11 @@ sub find_msvc()
$ver->{'product_dir'} = $install;
return $ver;
}
$install = reg_get_value("HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/" . $ver->{'key'});
if (defined $install && $install ne '') {
$ver->{'product_dir'} = $install;
return $ver;
}
}
die "Can't find MS Visual Studio / VC++";
}
Expand Down

0 comments on commit adb6f5d

Please sign in to comment.