diff options
Diffstat (limited to 'src/java/com/sun/gluegen/StructLayout.java')
-rw-r--r-- | src/java/com/sun/gluegen/StructLayout.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/StructLayout.java b/src/java/com/sun/gluegen/StructLayout.java index e7cd310..8dc4001 100644 --- a/src/java/com/sun/gluegen/StructLayout.java +++ b/src/java/com/sun/gluegen/StructLayout.java @@ -133,7 +133,8 @@ public class StructLayout { (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")) + (os.startsWith("freebsd") && cpu.equals("i386")) || + (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0")) ) { // FIXME: make struct alignment configurable? May need to change // packing rules on a per-type basis? |