breakgen for 64-bit

This commit is contained in:
Dmitry Jemerov
2009-11-25 18:39:02 +03:00
parent 6efe77afa2
commit ce4816b614
3 changed files with 7 additions and 2 deletions
@@ -39,7 +39,12 @@ public class AppMain {
final String osName = System.getProperty("os.name").toLowerCase();
String libPath = null;
if (osName.startsWith("windows")) {
libPath = binPath + "breakgen.dll";
if (System.getProperty("os.arch").equals("amd64")) {
libPath = binPath + "breakgen64.dll";
}
else {
libPath = binPath + "breakgen.dll";
}
} else if (osName.startsWith("linux")) {
if (System.getProperty("os.name").toLowerCase().equals("amd64")) {
libPath = binPath + "libbreakgen64.so";