diff options
| -rw-r--r-- | libffi/ChangeLog | 5 | ||||
| -rw-r--r-- | libffi/src/ffitest.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 944206f..97705f1 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -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 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; |
