From 5330765253a740e809fd739849b61ce4f7889735 Mon Sep 17 00:00:00 2001 From: Mark Rothwell Date: Sat, 26 Jun 2010 04:39:34 +0000 Subject: Add FreeBSD amd64 struct layout --- src/java/com/sun/gluegen/StructLayout.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/java/com') 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 -- cgit v1.2.3