Commit 4b5f402e by Andreas Jaeger Committed by Andreas Jaeger

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
parent 17fb1987
2003-01-14 Andreas Jaeger <aj@suse.de>
* src/ffitest.c (main): Only use ffi_closures if those are
supported.
2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>
* 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment