diff options
author | Martin Storsjö <martin@martin.st> | 2022-05-29 14:16:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 07:16:49 -0400 |
commit | fd1fe195e1d98b65ac3b0735cc0d0df95fc1b27b (patch) | |
tree | 89f894ac8c2e714bcacfaa723df4f8d218dec373 /src | |
parent | c1e237b22ee6042e2d4229008acea8f38c3d0109 (diff) | |
download | libffi-fd1fe195e1d98b65ac3b0735cc0d0df95fc1b27b.tar.gz |
Fix building on aarch64 after e409225b41b60c490a094bb068e639a2364202fd (#716)
The ALIGN_DOWN macro was renamed in 2018 in
e6eac7863e2bf1a009ea863041b354bdb4af6b67.
Diffstat (limited to 'src')
-rw-r--r-- | src/aarch64/ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c index 8f8c140..f421536 100644 --- a/src/aarch64/ffi.c +++ b/src/aarch64/ffi.c @@ -311,7 +311,7 @@ allocate_and_copy_struct_to_stack (struct arg_state *state, void *stack, size_t dest = state->next_struct_area - size; /* Round down to the natural alignment of the value. */ - dest = ALIGN_DOWN (dest, alignment); + dest = FFI_ALIGN_DOWN (dest, alignment); state->next_struct_area = dest; return memcpy ((char *) stack + dest, value, size); |