mirror of
https://github.com/partic2/libffi
synced 2026-11-10 01:57:19 +00:00
Fix IRIX support
This commit is contained in:
@@ -278,6 +278,9 @@ typedef struct {
|
||||
} ffi_closure __attribute__((aligned (8)));
|
||||
#else
|
||||
} ffi_closure;
|
||||
# ifdef __sgi
|
||||
# pragma pack 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
void *ffi_closure_alloc (size_t size, void **code);
|
||||
@@ -296,6 +299,9 @@ ffi_prep_closure_loc (ffi_closure*,
|
||||
void *user_data,
|
||||
void*codeloc);
|
||||
|
||||
#ifdef __sgi
|
||||
# pragma pack 8
|
||||
#endif
|
||||
typedef struct {
|
||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user