diff options
author | Kenneth Russel <[email protected]> | 2005-04-24 00:42:48 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-04-24 00:42:48 +0000 |
commit | 24c5dd419e8094b030a55ea86acee4dce0c61f06 (patch) | |
tree | 43e91a0a9b95e007ac98264e8723b6f41bd8350e /src | |
parent | bafff33544dae0f28a0a7141d2a4ee05295ea2ec (diff) |
Fixed Issue 156: Patch to add linux.ia64 target
Applied patch from submitter.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@261 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/games/gluegen/GlueGen.java | 3 | ||||
-rw-r--r-- | src/net/java/games/gluegen/StructLayout.java | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/java/games/gluegen/GlueGen.java b/src/net/java/games/gluegen/GlueGen.java index 6c343a5ee..1197741cb 100644 --- a/src/net/java/games/gluegen/GlueGen.java +++ b/src/net/java/games/gluegen/GlueGen.java @@ -144,7 +144,8 @@ public class GlueGen implements GlueEmitterControls { MachineDescription machDesc; String os = System.getProperty("os.name").toLowerCase(); String cpu = System.getProperty("os.arch").toLowerCase(); - if (os.startsWith("linux") && cpu.equals("amd64")) { + if ((os.startsWith("linux") && cpu.equals("amd64")) || + (os.startsWith("linux") && cpu.equals("ia64"))) { machDesc = new MachineDescription64Bit(); } else { machDesc = new MachineDescription32Bit(); diff --git a/src/net/java/games/gluegen/StructLayout.java b/src/net/java/games/gluegen/StructLayout.java index ebbace6b5..df612c3b5 100644 --- a/src/net/java/games/gluegen/StructLayout.java +++ b/src/net/java/games/gluegen/StructLayout.java @@ -124,6 +124,7 @@ public class StructLayout { if ((os.startsWith("windows") && cpu.equals("x86")) || (os.startsWith("linux") && cpu.equals("i386")) || (os.startsWith("linux") && cpu.equals("amd64")) || + (os.startsWith("linux") && cpu.equals("ia64")) || (os.startsWith("sunos") && cpu.equals("sparc")) || (os.startsWith("sunos") && cpu.equals("x86")) || (os.startsWith("mac os") && cpu.equals("ppc")) || |