diff options
author | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-24 17:31:45 +0000 |
---|---|---|
committer | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-24 17:31:45 +0000 |
commit | fed8d18da6d8bed88800208cbcf864e9fc7c76c6 (patch) | |
tree | af547f75a87906c75b962c106f70ef3c47f25cc1 /libffi/include | |
parent | b3a9482fbd4764d9af8b1d62e8c656394917c0fd (diff) | |
download | gcc-fed8d18da6d8bed88800208cbcf864e9fc7c76c6.tar.gz |
* include/ffi.h.in: Add typedef for ffi_arg.
* src/ffitest.c (main): Declare rint with ffi_arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50006 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r-- | libffi/include/ffi.h.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in index bcb999abe03..90ed2692305 100644 --- a/libffi/include/ffi.h.in +++ b/libffi/include/ffi.h.in @@ -307,6 +307,16 @@ typedef struct { } ffi_cif; +#if SIZEOF_ARG == 4 +typedef UINT32 ffi_arg; +#else +#if SIZEOF_ARG == 8 +typedef UINT64 ffi_arg; +#else +-- unsupported configuration +#endif +#endif + /* ---- Definitions for the raw API -------------------------------------- */ #if !FFI_NO_RAW_API |