aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rothwell <[email protected]>2010-06-26 04:39:34 +0000
committerMark Rothwell <[email protected]>2010-06-26 04:39:34 +0000
commit5330765253a740e809fd739849b61ce4f7889735 (patch)
treeb405682e7b28b55468555f7fdff44d3f34bc7852
parent86fd75e306671907fa3ddfb489787bad588c7467 (diff)
Add FreeBSD amd64 struct layout
-rw-r--r--src/java/com/sun/gluegen/StructLayout.java1
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