diff options
author | Kenneth Russel <[email protected]> | 2007-09-30 01:46:03 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-09-30 01:46:03 +0000 |
commit | 0792c18eb439df8d945b21422bfe15d5bb898e01 (patch) | |
tree | a3fb7e2a86ea66ec6bf7bd06e0c2c800fd50148f /src/java/com/sun/gluegen/runtime/CPU.java | |
parent | cc659efa4b20bfbce96227df9620c5f1cdd5f879 (diff) |
Changed structure layout for 32-bit Windows to more closely match what
the C compiler produces. More work is needed in this area.
Synchronized StructLayout and CPU classes.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@69 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/runtime/CPU.java')
-rwxr-xr-x | src/java/com/sun/gluegen/runtime/CPU.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/runtime/CPU.java b/src/java/com/sun/gluegen/runtime/CPU.java index a399b11..74106fc 100755 --- a/src/java/com/sun/gluegen/runtime/CPU.java +++ b/src/java/com/sun/gluegen/runtime/CPU.java @@ -55,6 +55,7 @@ public class CPU { String cpu = System.getProperty("os.arch").toLowerCase(); if ((os.startsWith("windows") && cpu.equals("x86")) || (os.startsWith("linux") && cpu.equals("i386")) || + (os.startsWith("linux") && cpu.equals("x86")) || (os.startsWith("mac os") && cpu.equals("ppc")) || (os.startsWith("mac os") && cpu.equals("i386")) || (os.startsWith("sunos") && cpu.equals("sparc")) || |