summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-18 02:02:05 +0200
committerMichael Bien <[email protected]>2010-07-18 02:02:05 +0200
commit1588ce5f3f6e899ad6528379e4947ecab588d49e (patch)
tree1dd80ca9c8544cafdd30c330f61f439879fa6875 /src/java/com/sun/gluegen
parentaab11cbb94f356dcc0b370089c5b8bb3eb6ea0e6 (diff)
parentffde1f44409bc7d49ceb18554c660bf9091cac42 (diff)
Merge branch 'freebsd-fixes' of http://github.com/rothwell/gluegen
Diffstat (limited to 'src/java/com/sun/gluegen')
-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