aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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