summaryrefslogtreecommitdiff
path: root/libffi/include
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-06 05:24:11 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-06 05:24:11 +0000
commit142f9026d2a341b4b9745dffc17909a51f7170fe (patch)
treeb3a7fdfbc35f7a3ff57eb7a4acc65d966fcb0eab /libffi/include
parent28055868f66cc3a37c07313ac2ee826c06e32b7a (diff)
downloadgcc-142f9026d2a341b4b9745dffc17909a51f7170fe.tar.gz
Enable build with microsoft compiler
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r--libffi/include/ffi.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in
index 32f610323b4..df7d2cd78b4 100644
--- a/libffi/include/ffi.h.in
+++ b/libffi/include/ffi.h.in
@@ -251,6 +251,9 @@ size_t ffi_java_raw_size (ffi_cif *cif);
#if FFI_CLOSURES
+#ifdef _MSC_VER
+__declspec(align(8))
+#endif
typedef struct {
char tramp[FFI_TRAMPOLINE_SIZE];
ffi_cif *cif;