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
This commit is contained in:
parent
17fb1987d6
commit
4b5f402e2d
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue