From 74a01bbabd748adcfc136017701851c8f84038f0 Mon Sep 17 00:00:00 2001 From: Gerard Ziemski Date: Wed, 18 Jan 2006 19:45:00 +0000 Subject: add i386 as a possible target for mac os platform git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@11 a78bb65f-1512-4460-ba86-f6dc96a7bf27 --- src/java/com/sun/gluegen/StructLayout.java | 1 + src/java/com/sun/gluegen/runtime/CPU.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/java/com/sun/gluegen/StructLayout.java b/src/java/com/sun/gluegen/StructLayout.java index df47fd1..e7cd310 100644 --- a/src/java/com/sun/gluegen/StructLayout.java +++ b/src/java/com/sun/gluegen/StructLayout.java @@ -132,6 +132,7 @@ public class StructLayout { (os.startsWith("sunos") && cpu.equals("x86")) || (os.startsWith("sunos") && cpu.equals("amd64")) || (os.startsWith("mac os") && cpu.equals("ppc")) || + (os.startsWith("mac os") && cpu.equals("i386")) || (os.startsWith("freebsd") && cpu.equals("i386")) ) { // FIXME: make struct alignment configurable? May need to change diff --git a/src/java/com/sun/gluegen/runtime/CPU.java b/src/java/com/sun/gluegen/runtime/CPU.java index 228ea0f..66ff685 100755 --- a/src/java/com/sun/gluegen/runtime/CPU.java +++ b/src/java/com/sun/gluegen/runtime/CPU.java @@ -56,6 +56,7 @@ public class CPU { if ((os.startsWith("windows") && cpu.equals("x86")) || (os.startsWith("linux") && cpu.equals("i386")) || (os.startsWith("mac os") && cpu.equals("ppc")) || + (os.startsWith("mac os") && cpu.equals("i386")) || (os.startsWith("sunos") && cpu.equals("sparc")) || (os.startsWith("sunos") && cpu.equals("x86")) || (os.startsWith("freebsd") && cpu.equals("i386"))) { -- cgit v1.2.3