diff options
author | Gerard Ziemski <[email protected]> | 2006-01-18 19:45:00 +0000 |
---|---|---|
committer | Gerard Ziemski <[email protected]> | 2006-01-18 19:45:00 +0000 |
commit | 74a01bbabd748adcfc136017701851c8f84038f0 (patch) | |
tree | f9f3751a1d2cb156e0c9f055b96728110f005489 /src | |
parent | 32e92bac4de3fc1f8350919e3f52591a2ec6231f (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/sun/gluegen/StructLayout.java | 1 | ||||
-rwxr-xr-x | src/java/com/sun/gluegen/runtime/CPU.java | 1 |
2 files changed, 2 insertions, 0 deletions
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"))) { |