Fixes for running under gcj

This commit is contained in:
Adam Murdoch
2014-05-03 18:53:35 +10:00
parent ecd46f4e4c
commit 6bfa347cd8

View File

@@ -37,7 +37,7 @@ public abstract class Platform {
platform = new Window64Bit(); platform = new Window64Bit();
} }
} else if (osName.contains("linux")) { } else if (osName.contains("linux")) {
if (arch.equals("amd64")) { if (arch.equals("amd64") || arch.equals("x86_64")) {
platform = new Linux64Bit(); platform = new Linux64Bit();
} }
else if (arch.equals("i386") || arch.equals("x86")) { else if (arch.equals("i386") || arch.equals("x86")) {