diff options
Diffstat (limited to 'gcc-4.7/libffi/src/x86/ffitarget.h')
-rw-r--r-- | gcc-4.7/libffi/src/x86/ffitarget.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.7/libffi/src/x86/ffitarget.h b/gcc-4.7/libffi/src/x86/ffitarget.h index dfecd1b3c..f9548c609 100644 --- a/gcc-4.7/libffi/src/x86/ffitarget.h +++ b/gcc-4.7/libffi/src/x86/ffitarget.h @@ -53,9 +53,16 @@ typedef unsigned long long ffi_arg; typedef long long ffi_sarg; #endif #else +#if defined __x86_64__ && defined __ILP32__ +#define FFI_SIZEOF_ARG 8 +#define FFI_SIZEOF_JAVA_RAW 4 +typedef unsigned long long ffi_arg; +typedef long long ffi_sarg; +#else typedef unsigned long ffi_arg; typedef signed long ffi_sarg; #endif +#endif typedef enum ffi_abi { FFI_FIRST_ABI = 0, |