summaryrefslogtreecommitdiff
path: root/include/ffi.h.in
diff options
context:
space:
mode:
authorAnthony Green <green@gmachine.(none)>2009-12-24 00:22:00 -0500
committerAnthony Green <green@gmachine.(none)>2009-12-24 00:22:00 -0500
commit115ab36fceee69740a01ce49bc27e1908cc237b1 (patch)
treedf2028286cbb876ce100438411cb7cdb4a9527c7 /include/ffi.h.in
parentf8c7a245bf5a80bd7e730ec03fcad17c8dcfcb07 (diff)
downloadlibffi-115ab36fceee69740a01ce49bc27e1908cc237b1.tar.gz
Update missing changes for 3.0.9r4.
Diffstat (limited to 'include/ffi.h.in')
-rw-r--r--include/ffi.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ffi.h.in b/include/ffi.h.in
index a06d626..32f6103 100644
--- a/include/ffi.h.in
+++ b/include/ffi.h.in
@@ -256,7 +256,11 @@ typedef struct {
ffi_cif *cif;
void (*fun)(ffi_cif*,void*,void**,void*);
void *user_data;
+#ifdef __GNUC__
} ffi_closure __attribute__((aligned (8)));
+#else
+} ffi_closure;
+#endif
void *ffi_closure_alloc (size_t size, void **code);
void ffi_closure_free (void *);