diff options
author | Gregory Pakosz <gregory.pakosz@gmail.com> | 2018-09-18 15:19:53 +0200 |
---|---|---|
committer | Gregory Pakosz <gregory.pakosz@gmail.com> | 2018-09-18 15:19:53 +0200 |
commit | e6eac7863e2bf1a009ea863041b354bdb4af6b67 (patch) | |
tree | b48106c66d5353056ca426954c02c798ef488b4b /include | |
parent | 980908b47bbde09fab88ee4b2b61d8bc5d4378a7 (diff) | |
download | libffi-e6eac7863e2bf1a009ea863041b354bdb4af6b67.tar.gz |
Prefix ALIGN_DOWN macro with FFI_
Diffstat (limited to 'include')
-rw-r--r-- | include/ffi_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ffi_common.h b/include/ffi_common.h index 7fb0a64..ee9cdcb 100644 --- a/include/ffi_common.h +++ b/include/ffi_common.h @@ -77,7 +77,7 @@ void ffi_type_test(ffi_type *a, char *file, int line); /* v cast to size_t and aligned up to a multiple of a */ #define FFI_ALIGN(v, a) (((((size_t) (v))-1) | ((a)-1))+1) /* v cast to size_t and aligned down to a multiple of a */ -#define ALIGN_DOWN(v, a) (((size_t) (v)) & -a) +#define FFI_ALIGN_DOWN(v, a) (((size_t) (v)) & -a) /* Perform machine dependent cif processing */ ffi_status ffi_prep_cif_machdep(ffi_cif *cif); |