summaryrefslogtreecommitdiff
path: root/src/aarch64
diff options
context:
space:
mode:
authorGregory Pakosz <gregory.pakosz@gmail.com>2017-04-27 13:20:36 +0200
committerGregory Pakosz <gregory.pakosz@gmail.com>2017-04-27 13:22:28 +0200
commitbd72848c7af9302df50a7a11652c77166d17caa8 (patch)
tree0e2610470931c95473e4b3a0c404ab7ebb1d44b6 /src/aarch64
parentb841ae70a05a5e11de1fca1b4551189db0895cf2 (diff)
downloadlibffi-bd72848c7af9302df50a7a11652c77166d17caa8.tar.gz
Prefix ALIGN macros with FFI_
Diffstat (limited to 'src/aarch64')
-rw-r--r--src/aarch64/ffi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c
index e7cf6ce..c4a6151 100644
--- a/src/aarch64/ffi.c
+++ b/src/aarch64/ffi.c
@@ -280,7 +280,7 @@ allocate_to_stack (struct arg_state *state, void *stack,
alignment = 8;
#endif
- nsaa = ALIGN (nsaa, alignment);
+ nsaa = FFI_ALIGN (nsaa, alignment);
state->nsaa = nsaa + size;
return (char *)stack + nsaa;
@@ -528,7 +528,7 @@ ffi_prep_cif_machdep (ffi_cif *cif)
}
/* Round the stack up to a multiple of the stack alignment requirement. */
- cif->bytes = ALIGN(bytes, 16);
+ cif->bytes = FFI_ALIGN(bytes, 16);
cif->flags = flags;
#if defined (__APPLE__)
cif->aarch64_nfixedargs = 0;