diff options
author | Mark Rothwell <[email protected]> | 2010-06-26 04:39:34 +0000 |
---|---|---|
committer | Mark Rothwell <[email protected]> | 2010-06-26 04:39:34 +0000 |
commit | 5330765253a740e809fd739849b61ce4f7889735 (patch) | |
tree | b405682e7b28b55468555f7fdff44d3f34bc7852 | |
parent | 86fd75e306671907fa3ddfb489787bad588c7467 (diff) |
Add FreeBSD amd64 struct layout
-rw-r--r-- | src/java/com/sun/gluegen/StructLayout.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/StructLayout.java b/src/java/com/sun/gluegen/StructLayout.java index 76cd351..111c19f 100644 --- a/src/java/com/sun/gluegen/StructLayout.java +++ b/src/java/com/sun/gluegen/StructLayout.java @@ -140,6 +140,7 @@ public class StructLayout { (os.startsWith("mac os") && cpu.equals("i386")) || (os.startsWith("mac os") && cpu.equals("x86_64")) || (os.startsWith("freebsd") && cpu.equals("i386")) || + (os.startsWith("freebsd") && cpu.equals("amd64")) || (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0")) ) { // FIXME: make struct alignment configurable? May need to change |