mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
Prefix ALIGN macros with FFI_
This commit is contained in:
+2
-2
@@ -101,7 +101,7 @@ void ffi_prep_args (char *stack, extended_cif *ecif)
|
||||
|
||||
/* Align argp as appropriate for the argument type. */
|
||||
if ((alignment - 1) & (unsigned) argp)
|
||||
argp = (char *) ALIGN (argp, alignment);
|
||||
argp = (char *) FFI_ALIGN (argp, alignment);
|
||||
|
||||
/* Copy the argument, promoting integral types smaller than a
|
||||
word to word size. */
|
||||
@@ -230,7 +230,7 @@ ffi_closure_helper (unsigned char *args,
|
||||
|
||||
/* Align argp as appropriate for the argument type. */
|
||||
if ((alignment - 1) & (unsigned) argp)
|
||||
argp = (char *) ALIGN (argp, alignment);
|
||||
argp = (char *) FFI_ALIGN (argp, alignment);
|
||||
|
||||
/* Arguments smaller than an int are promoted to int. */
|
||||
if (size < sizeof (int))
|
||||
|
||||
Reference in New Issue
Block a user