diff options
author | Andreas Jaeger <aj@suse.de> | 2003-01-14 09:50:48 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2003-01-14 09:50:48 +0000 |
commit | 76d2404d9f79e953f10a708265b09bbd7a977ac3 (patch) | |
tree | 20d5054c00534ceba7ddbe5f133d20e85a7f3626 /libffi/src/ffitest.c | |
parent | dd3e5bc87b09e5c0189c5456e3f3b4ffb24eb5f5 (diff) |
* src/ffitest.c (main): Only use ffi_closures if those are
supported.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@61273 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/ffitest.c')
-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 94643d9ec71..a05b746865d 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; |