diff options
author | Gregory Pakosz <gregory.pakosz@gmail.com> | 2017-04-27 13:20:36 +0200 |
---|---|---|
committer | Gregory Pakosz <gregory.pakosz@gmail.com> | 2017-04-27 13:22:28 +0200 |
commit | bd72848c7af9302df50a7a11652c77166d17caa8 (patch) | |
tree | 0e2610470931c95473e4b3a0c404ab7ebb1d44b6 /src/cris | |
parent | b841ae70a05a5e11de1fca1b4551189db0895cf2 (diff) | |
download | libffi-bd72848c7af9302df50a7a11652c77166d17caa8.tar.gz |
Prefix ALIGN macros with FFI_
Diffstat (limited to 'src/cris')
-rw-r--r-- | src/cris/ffi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cris/ffi.c b/src/cris/ffi.c index aaca5b1..9011fde 100644 --- a/src/cris/ffi.c +++ b/src/cris/ffi.c @@ -29,7 +29,7 @@ #include <ffi.h> #include <ffi_common.h> -#define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG) +#define STACK_ARG_SIZE(x) FFI_ALIGN(x, FFI_SIZEOF_ARG) static ffi_status initialize_aggregate_packed_struct (ffi_type * arg) @@ -190,7 +190,7 @@ ffi_prep_cif_core (ffi_cif * cif, FFI_ASSERT_VALID_TYPE (*ptr); if (((*ptr)->alignment - 1) & bytes) - bytes = ALIGN (bytes, (*ptr)->alignment); + bytes = FFI_ALIGN (bytes, (*ptr)->alignment); if ((*ptr)->type == FFI_TYPE_STRUCT) { if ((*ptr)->size > 8) |