diff options
author | Andreas Jaeger <aj@suse.de> | 2003-01-14 10:50:48 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-01-14 10:50:48 +0100 |
commit | 4b5f402e2df8d06d7474cf861ed525cff8749748 (patch) | |
tree | 20d5054c00534ceba7ddbe5f133d20e85a7f3626 /libffi/src | |
parent | 17fb1987d66090ef42ed5bbee6b1e81f9f959302 (diff) | |
download | gcc-4b5f402e2df8d06d7474cf861ed525cff8749748.zip gcc-4b5f402e2df8d06d7474cf861ed525cff8749748.tar.gz gcc-4b5f402e2df8d06d7474cf861ed525cff8749748.tar.bz2 |
ffitest.c (main): Only use ffi_closures if those are supported.
* src/ffitest.c (main): Only use ffi_closures if those are
supported.
From-SVN: r61273
Diffstat (limited to 'libffi/src')
-rw-r--r-- | libffi/src/ffitest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libffi/src/ffitest.c b/libffi/src/ffitest.c index 94643d9..a05b746 100644 --- a/libffi/src/ffitest.c +++ b/libffi/src/ffitest.c @@ -426,10 +426,12 @@ int main(/*@unused@*/ int argc, /*@unused@*/ char *argv[]) ffi_arg rint; long long rlonglong; +# if FFI_CLOSURES /* The closure must not be an automatic variable on platforms (Solaris) that forbid stack execution by default. */ static ffi_closure cl; - +#endif + ffi_type * cl_arg_types[17]; ffi_type ts1_type; |